Re: revoking all the privileges from public
- From: "Russell Fields" <russellfields@xxxxxxxxxx>
- Date: Thu, 16 Aug 2007 15:49:32 -0400
Rogers,
You don't say which version of SQL Server you are running, which may make
some difference.
First of all, you can revoke some rights in master and msdb and still have
the necessary things work, but revoking everything would be a disaster.
Basic system stored procedures that everyone needs would also be revoked.
You need to be more measured in your revoking of rights, which means you
need to understand what is still needed and what can be safely revoke. (If
you are using SQL Server 2005, note that some rights that were exposed in
SQL Server 2000 are now more tightly guarded.)
Here is a PowerPoint SQL Server 2000 oriented from about 3 years ago, which
does suggest some areas for rights to be removed:
http://download.microsoft.com/download/7/3/c/73ca9891-f3eb-4caf-bf60-51f4aca51706/DBA5_kburge.ppt#302,43,URLs
Tools such as AuditPro also make suggestions.
So, I do not have a specific list for you, review the things in the BOL (or
do "exec sp_helprotect @username='public'" in both master and msdb) to see
what is granted, then think about whether you want that or not. (It is
pointless to manipulate rights in tempdb, since it is rebuilt everytime the
SQL Server restarts and it has its own mechanism for privacy.)
I tried finding a real solid article on this, but (alas) could not.
RLF
Note: The following article offers no guidance on what to revoke and what
not to revoke, it merely tells you what you can do, not what it is wise to
do: http://support.microsoft.com/kb/75291
"Rogers" <naissani@xxxxxxxxxxx> wrote in message
news:Oqsq$FD4HHA.3900@xxxxxxxxxxxxxxxxxxxxxxx
Thanks alot for your reply,
Is there any Microsoft article on that so I can present this to our
Manager and also refer that Microsoft doesn't recommend that.
Thanks
"Russell Fields" <russellfields@xxxxxxxxxx> wrote in message
news:eMITWCD4HHA.5776@xxxxxxxxxxxxxxxxxxxxxxx
Rogers,
Do not revoke all rights from public for these databases. That will
break many things.
RLF
"Rogers" <naissani@xxxxxxxxxxx> wrote in message
news:eLXU7qB4HHA.5804@xxxxxxxxxxxxxxxxxxxxxxx
I am revoking all the privileges from public role from master and tempdb
database, will that be any thing wrong after that? just want expert idea
because I ran one tool and it gave me suggession to remove public rights
from system objects on master database.
LIke following are some of the commands
USE MASTER
REVOKE EXEC ON dt_droppropertiesbyid FROM PUBLIC
GO
REVOKE EXEC ON dt_checkinobject FROM PUBLIC
GO
REVOKE SELECT ON dtproperties FROM PUBLIC
GO
REVOKE EXEC ON dt_checkoutobject FROM PUBLIC
GO
REVOKE EXEC ON dt_checkoutobject_u FROM PUBLIC
GO
Please give any suggession,
.
- Follow-Ups:
- Re: revoking all the privileges from public
- From: Rogers
- Re: revoking all the privileges from public
- From: Rogers
- Re: revoking all the privileges from public
- References:
- revoking all the privileges from public
- From: Rogers
- Re: revoking all the privileges from public
- From: Russell Fields
- Re: revoking all the privileges from public
- From: Rogers
- revoking all the privileges from public
- Prev by Date: Re: revoking all the privileges from public
- Next by Date: Re: revoking all the privileges from public
- Previous by thread: Re: revoking all the privileges from public
- Next by thread: Re: revoking all the privileges from public
- Index(es):
Relevant Pages
|