Cute: I need to remove the db_backupoperator permissions from the db_owner role.

Thread Solved

Join Date: Oct 2009
Posts: 3
Reputation: BratNZ is an unknown quantity at this point 
Solved Threads: 0
BratNZ BratNZ is offline Offline
Newbie Poster

Cute: I need to remove the db_backupoperator permissions from the db_owner role.

 
0
  #1
Oct 28th, 2009
The reason is that :

1. I wish to run multiple databases on a single server.
To do this securely each login must be granted db_owner on the database so we can use "deny view any database" to hide the other databases from view. (login can see all databases they are owner of however).

2. This creates a problem. We do not wish the users to be able to create backups even though they are db_owners.
It's here that I am having difficulties.

Any ideas?
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 2
Reputation: forjo is an unknown quantity at this point 
Solved Threads: 1
forjo forjo is offline Offline
Newbie Poster
 
0
  #2
Nov 2nd, 2009
I assume you are running SQL Server 2005.
I far as i know it is not possible to change the permissions of a fixed database role (db_owner).
On database level try "DENY BACKUP DATABASE TO db-user" and "DENY BACKUP LOG TO db-user" where db-user is the database user (not the login!) who is member of the fixed database role "db_owner".
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 3
Reputation: BratNZ is an unknown quantity at this point 
Solved Threads: 0
BratNZ BratNZ is offline Offline
Newbie Poster
 
0
  #3
Nov 2nd, 2009
Originally Posted by forjo View Post
I assume you are running SQL Server 2005.
I far as i know it is not possible to change the permissions of a fixed database role (db_owner).
On database level try "DENY BACKUP DATABASE TO db-user" and "DENY BACKUP LOG TO db-user" where db-user is the database user (not the login!) who is member of the fixed database role "db_owner".
SQL2008 actually but those commands seemed to do the trick! Ta!
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 2
Reputation: forjo is an unknown quantity at this point 
Solved Threads: 1
forjo forjo is offline Offline
Newbie Poster
 
0
  #4
Nov 5th, 2009
That makes me happy, considering I didn't test it ...
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the MS SQL Forum


Views: 605 | Replies: 3
Thread Tools Search this Thread



Tag cloud for MS SQL
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC