![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Currently, all our application tables are owned by dba. Is this considered good practice? If no, is there an easy way to change ownership of all our application's tables? Thanks, Doug |
#3
| |||
| |||
|
|
I was taught that this is not a good idea. The reasoning is that all your users will have DBA powers. Make a group with non-DBA powers and put all the normal users in there. Make all the tables belong to that group, then you don't need to have long table names (e.g mygroup.table1) in your queries. This advice was from the days when a company had one giant Oracle DB on a Unix box somewhere so I don't know how relevant it is to single user embedded DB. The DB can also contain all the same named tables more than once if they belong to different groups. Again more of an enterprise consideration than a stand alone one. Certainly I think controlling access is relevant for any multi-user DB. Evan at departmental level it is good to show some consideration for security. Quite what the best practice method is I hope someone more learned will jump in and say. Regards Clive "Doug Stone" <doug.stone (AT) res-q (DOT) com> wrote in message news:4b5e3c1e$1 (AT) forums-1-dub (DOT) .. Currently, all our application tables are owned by dba. Is this considered good practice? If no, is there an easy way to change ownership of all our application's tables? Thanks, Doug |
#4
| |||
| |||
|
|
all your users will have DBA powers. |
|
I was taught that this is not a good idea. The reasoning is that all your users will have DBA powers. Make a group with non-DBA powers and put all the normal users in there. Make all the tables belong to that group, then you don't need to have long table names (e.g mygroup.table1) in your queries. This advice was from the days when a company had one giant Oracle DB on a Unix box somewhere so I don't know how relevant it is to single user embedded DB. The DB can also contain all the same named tables more than once if they belong to different groups. Again more of an enterprise consideration than a stand alone one. Certainly I think controlling access is relevant for any multi-user DB. Evan at departmental level it is good to show some consideration for security. Quite what the best practice method is I hope someone more learned will jump in and say. Regards Clive "Doug Stone" <doug.stone (AT) res-q (DOT) com> wrote in message news:4b5e3c1e$1 (AT) forums-1-dub (DOT) .. Currently, all our application tables are owned by dba. Is this considered good practice? If no, is there an easy way to change ownership of all our application's tables? Thanks, Doug |
#5
| |||
| |||
|
|
Currently, all our application tables are owned by dba. Is this considered good practice? If no, is there an easy way to change ownership of all our application's tables? Thanks, Doug |
![]() |
| Thread Tools | |
| Display Modes | |
| |