![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
All, We are at Oracle 10g. We need to let our developer to browse source code like packages/functions/triggers. The only way i can think of is grant select any dictionary. Is there any security risk there by doing that? What is other options? Thanks for your help |
#3
| |||
| |||
|
|
"charles" <dshprope... (AT) gmail (DOT) com> a crit dans le message de news: 880b62ca-c4c1-4d7e-9d16-b87d391a4... (AT) j5g2000vbg (DOT) googlegroups.com... | All, | | We are at Oracle 10g. *We need to let our developer to browse source | code like packages/functions/triggers. | | The only way i can think of is grant select any dictionary. *Is there | any security risk there by doing that? *What is other options? | | Thanks for your help Create a procedure in procedure/... owner schema that displays the code source and grant developers the privilege to execute this procedure. Regards Michel |
#4
| |||
| |||
|
|
All, We are at Oracle 10g. We need to let our developer to browse source code like packages/functions/triggers. The only way i can think of is grant select any dictionary. Is there any security risk there by doing that? What is other options? Thanks for your help |
#5
| |||
| |||
|
|
On Sep 22, 4:46*pm, "Michel Cadot" <micadot{at}altern{dot}org> wrote: "charles" <dshprope... (AT) gmail (DOT) com> a crit dans le message de news: 880b62ca-c4c1-4d7e-9d16-b87d391a4... (AT) j5g2000vbg (DOT) googlegroups.com... | All, | | We are at Oracle 10g. *We need to let our developer to browse source | code like packages/functions/triggers. | | The only way i can think of is grant select any dictionary. *Is there | any security risk there by doing that? *What is other options? | | Thanks for your help Create a procedure in procedure/... owner schema that displays Thanks for your reply. |
|
the code source and grant developers the privilege to execute this procedure. Regards Michel Here is what we did. *I took the source code for USER_SOURCE and created a view using this source with the current user restriction removed. *The view returns all source. *Access is control via granting the select privilege on the view. *It would also be easy to restrict the source code being displayyed to that belonging to specific application code owners. HTH -- Mark D Powell -- |
#6
| |||
| |||
|
|
On Sep 23, 9:46*am, Mark D Powell <Mark.Powe... (AT) hp (DOT) com> wrote: On Sep 22, 4:46*pm, "Michel Cadot" <micadot{at}altern{dot}org> wrote: "charles" <dshprope... (AT) gmail (DOT) com> a crit dans le message de news: 880b62ca-c4c1-4d7e-9d16-b87d391a4... (AT) j5g2000vbg (DOT) googlegroups.com... | All, | | We are at Oracle 10g. *We need to let our developer to browse source | code like packages/functions/triggers. | | The only way i can think of is grant select any dictionary. *Is there | any security risk there by doing that? *What is other options? | | Thanks for your help Create a procedure in procedure/... owner schema that displays Thanks for your reply. Now, could you tell me what is the risk if i gave them select any dictionary, *the only thing i guess is the password column exposed in dba_users. *And we will lock the account if more than 10 failed logins. *Any other concern i can tell my supervisor if i grant "select any dictionary"? the code source and grant developers the privilege to execute this procedure. Regards Michel Here is what we did. *I took the source code for USER_SOURCE and created a view using this source with the current user restriction removed. *The view returns all source. *Access is control via granting the select privilege on the view. *It would also be easy to restrict the source code being displayyed to that belonging to specific application code owners. HTH -- Mark D Powell --- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - |
#7
| |||
| |||
|
|
On Sep 23, 9:46*am, Mark D Powell <Mark.Powe... (AT) hp (DOT) com> wrote: Thanks for your reply. Now, could you tell me what is the risk if i gave them select any dictionary, *the only thing i guess is the password column exposed in dba_users. *And we will lock the account if more than 10 failed logins. *Any other concern i can tell my supervisor if i grant "select any dictionary"? |
#8
| |||
| |||
|
|
They do not need 'select any dictionary'. *You should follow Mark's advice and create a view based on the definition of user_source but include all of your application owners. *That you still want to use the easy way out is a mystery to me. *These developers are not DBAs and should not have 'select any dictionary' privilege. David Fitzjarrell |
#9
| |||
| |||
|
|
Thanks David. We are a new Oracle shop, we are building all those new rules for this new world Our developer team strongly wanted it. *They do not want to use SQL to select against a view. They want to use some gui tool like SQL developer/SQL navigator to browse. I searched on Pete's site, he only mentioned "never grant select any dictionary". On oracle's website, it also mentioned You should grant this privilege with extreme care, because the integrity of your system can be compromised by their misuse. But Oracle does not give details how the misuse could cause the integrity of our database. To convince the judge, our supervisor, i need to give some details, some examples, which is hard to find on internet. *The only thing i found so far is dba_users has a password column. |
![]() |
| Thread Tools | |
| Display Modes | |
| |