SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Server 2005 Security for Developers


SQL Server 2005 Security for Developers

Author
Message
BrendA-676703
BrendA-676703
SSCrazy
SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)

Group: General Forum Members
Points: 2328 Visits: 31
Hi All,

Need some guidance please.....

I am currently looking at the process of creating some advance security for my developers on my Test environment and whish to give developers access to run agents jobs, ssis packages, with their own credentials, etc without having to give Developers access to SYSADMIN. I would like the DBAs to remain the only users with SYSADMIN access. Has anyone got a similar sinario in their environment...if so, can you share it with me?? I am considering creating a group on the network for Developers and giving that group less access than SYSADMIN (eg: msdb: SQLAgentOperatorRole, SQLAgentReaderRole and SQLAgentUserRole) and placing all Developers in that group.

All ideas will be appreciated.

Thanking you all in advance.
vidhya sagar
vidhya sagar
SSCommitted
SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)

Group: General Forum Members
Points: 1890 Visits: 620
You can provide SQLAgentOperatorRole in MSDB so that they will privilege to execute all the jobs.

Regards..Vidhya Sagar
SQL-Articles
Greg Charles
Greg Charles
SSChampion
SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)

Group: General Forum Members
Points: 11391 Visits: 5985
The Windows group for developers sounds like a good idea and Vidhya's suggestion of using the SQLAgent roles in msdb is a good choice for allowing non-sysadmins to maintain jobs. You should review the permissions for the role in BOL to make sure it's what you want.

If you want to restrict database access to smaller groups, you may want to create Windows groups for each of those and make them members of the larger group. In our shop, we have multiple systems and each system has it's own group of developers.

Greg
Steve Jones
Steve Jones
SSC Guru
SSC Guru (145K reputation)SSC Guru (145K reputation)SSC Guru (145K reputation)SSC Guru (145K reputation)SSC Guru (145K reputation)SSC Guru (145K reputation)SSC Guru (145K reputation)SSC Guru (145K reputation)

Group: Administrators
Points: 145221 Visits: 19425
Greg and Vidhya's advice is good. I'd be wary of allowing developers to manage jobs and packages. They tend to "fix" things on the fly, often breaking others at the same time and potentially causing instability.

The reasons behind SOX and other regulations are to ensure stability and prevent unnecessary and unauthorized changes. This is one place I think developers should not be allowed access to do anything other than run jobs. Allowing them to make changes can lead to stability issues.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
Greg Charles
Greg Charles
SSChampion
SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)

Group: General Forum Members
Points: 11391 Visits: 5985
Thanks for that Steve. I based by comments on BrendA's statement that it's a test environment, but you reminded me that developers shouldn't have free reign to change jobs or packages that will end up in production.

Greg
BrendA-676703
BrendA-676703
SSCrazy
SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)

Group: General Forum Members
Points: 2328 Visits: 31
Thank you all for your valuable comments - greatly appreciated.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search