March 26, 2013 at 9:02 am
Hello,
I need to find a script that will list all permissions to public ONLY on a database level ( i.e select , execute ... ) like this vulnerability below.
[Object Name:system_sql_modules] [Granted To:public] [Granted By:dbo] [Database:ABC] [Permission:SELECT] [Schema Name:sys] [State:GRANT] [Class:OBJECT_OR_COLUMN]
much appreciated !
JR
March 26, 2013 at 9:14 am
The script here should get you started.
http://stackoverflow.com/questions/1987190/scripting-sql-server-permissions
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
March 26, 2013 at 9:35 am
Thanks for that !
exactly what i needed
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy