Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Administering
»
Managing security and Certificates
Managing security and Certificates
Rate Topic
Display Mode
Topic Options
Author
Message
Dean Jones-454305
Dean Jones-454305
Posted Tuesday, May 12, 2009 10:39 AM
SSC Veteran
Group: General Forum Members
Last Login: Friday, February 15, 2013 2:29 AM
Points: 282,
Visits: 1,047
Hi All
I have heard about the various enhancements to security configuration in SQL 2005, I was wondering how other people manage SQL logins in your respective environment, how would you manage users, I assume we all script this, what if a user needs access to update a table, would you simply open your script and change this to reflect the new change ?
Also, I have heard about certificates and was wondering how these are used and in what circumstances would you use certificates ?
I have a situation where an application needs SQL access to a database, this involves giving developers the application login and also the password as well, I was wondering whether are any alternatives to taking this approach ?
Also, how can I further lock SQL down to make sure that its only that application which can use that login, in effect stopping other people from using the login meant for the application.
Post #715288
Jonathan Kehayias
Jonathan Kehayias
Posted Tuesday, May 12, 2009 11:31 AM
SSCommitted
Group: General Forum Members
Last Login: Sunday, May 12, 2013 4:26 PM
Points: 1,696,
Visits: 1,742
Dean Jones (5/12/2009)
I have a situation where an application needs SQL access to a database, this involves giving developers the application login and also the password as well, I was wondering whether are any alternatives to taking this approach ?
Also, how can I further lock SQL down to make sure that its only that application which can use that login, in effect stopping other people from using the login meant for the application.
I manage this by having different passwords in Production and Development for the application logins. Developers can develop using their own logins to the SQL Server for the most part. When it comes to testing, the app login is generally good to use so that the permissions are correctly scripted when migrating to production.
If you want to block a login from accessing SQL Server except from a specific application name, you can look at the following blog post I made last year:
http://sqlblog.com/blogs/jonathan_kehayias/archive/2008/06/18/securing-production-servers-from-developers-with-ssms-and-application-usernames-passwords.aspx
Jonathan Kehayias | Principal Consultant | MCM: SQL Server 2008
My Blog
|
Twitter
|
MVP Profile
Training
|
Consulting
|
Become a SQLskills Insider
Troubleshooting SQL Server: A Guide for Accidental DBAs
Post #715320
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.