Based on some discussions on the power of the DBA authority lately in this forum, I have the impression that there's a general rule for SQL Anywhere like the following (to cite Justin):
So I would like to know what exactly DBA1 can do that DBA2 cannot undo or drop? Some more discussion on this can be found in the newsgroups, e.g. in these threads: I should add that this question is not dealing with topics like "Do users of my application need DBA authority to do backups or create other users?" - For these cases, it's a widely accepted best-practise to give particular users execute permission on according stored procedures (and the like) to allow these DBA actions, but to do not grant them DBA authority. This question is more focussed on enterprise/in-house databases with more than one DBA account. |
I'd like to attempt to make a list of the things DBA2 can or can not do - and I would invite anyone to add/comment on this - consider this just a starting point... Basically, I will assume there are two users with DBA authority named DBA1 and DBA2, and would assume that DBA2 might turn into malicious intentions: I. What DBA2 can do:
II. What DBA2 cannot do:
Isn't this true for all user ids, DBA or otherwise? "cannot read the source of any object SET HIDDEN"
(13 Feb '12, 08:55)
Breck Carter
Replies hidden
Yes, it is, but in contrast to others a DBA2 could still alter these objects... But to clarify, I'm gonna change this to "anybody cannot" - as even DBA1 cannot un-do that operation.
(13 Feb '12, 09:02)
Volker Barth
|
Well, there's Dogbert the patron saint of DBAs... he can perform miracles.
Hmm, I hope the list below could be improved over time to count as "actual issues", Saint Breck?