If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > MSSQL Database Security issue

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-31-10, 08:14
tshorolpa tshorolpa is offline
Registered User
 
Join Date: Aug 2010
Posts: 1
MSSQL Database Security issue

Hi Everyone,

i have a MSSQL database server 2008, which is used and can be connected by my software developers for the development process. They all are using 'sa' account.
but i want to make one database where i can put my confidential info, and i want that database to be inaccessible to my developers.

how can i achieve that? Please describe me in steps so that i can follow easily.

Thank you Very much
Reply With Quote
  #2 (permalink)  
Old 08-31-10, 08:40
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,002
Don't let them use the sa account!
  • Create new SQL login for them to use
  • Add them as windows authenticated users
  • Add them to an AD group and grant the AD group access
__________________
George
Twitter | Blog
Reply With Quote
  #3 (permalink)  
Old 08-31-10, 10:17
MCrowley MCrowley is online now
Wage drone 24601
 
Join Date: Jan 2003
Location: Massachusetts
Posts: 4,784
NEVER give away sysadmin rights on a server. Neither should an application user have sysadmin rights, or an application run as sysadmin. These are horribly bad security practices

Developers at most should only have db_owner rights on the database(s) they are developing in.

If you are in a windows domain, use the following steps (elaborated from above)

1) In SQL Server Management Studio, create a new windows authenticated login on SQL Server from their Windows Login.
2) Under User Mappings, select the database they need to work in, and the db_owner role.
Reply With Quote
Reply

Tags
mssql 2008, security

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On