Pau Lo
asked on
GUEST account and cmdexec
I need an SQL for 2008 R2 to list all databases on an instance, and whether the GUEST account is enabled in these DB or not.
Also I need a way to determine if cmdexec is available to the PUBLIC role, ideally via a query.
Also I need a way to determine if cmdexec is available to the PUBLIC role, ideally via a query.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
pma111, do you still need help with this question?
Do you mean cmdexec in the context of a SQL Agent job? Or xp_cmdshell extended proc
check for now
MS Article
INF: SQL Security - Restricting access to public on server/database objects, its implications and ownership chains
http://blogs.msdn.com/b/sqlserverfaq/archive/2010/08/31/inf-sql-security-restricting-access-to-public-on-server-database-objects-its-implications-and-ownership-chains.aspx
Open in new window