Unix Technical Forum

security of mssql database?

This is a discussion on security of mssql database? within the SQL Server forums, part of the Microsoft SQL Server category; --> Hello, another question from a newbie to mssql. Is there a way of allowing access to database only by ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 09:31 AM
Markon
 
Posts: n/a
Default security of mssql database?

Hello, another question from a newbie to mssql.

Is there a way of allowing access to database only by providing username and
password (disabling trusted connection and preventing administrator to
access database through enterprise manager or otherwise without supplying
username and password)?

What I would like is that my application upon instalation creates database
with appropriate tables (already done this) and somehow solely creates and
manages user list and passwords so that there is no access to database other
through application. (Application would create a backdoor account should
something go wrong)


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 09:31 AM
David Portas
 
Posts: n/a
Default Re: security of mssql database?

You can't deny a SYSADMIN from accessing your database. You just have to
ensure that only the right people have the SYSADMIN role.

To secure your database through your application, read about Application
Roles in Books Online. Make sure all access to data is through stored
procedures so that you don't have to grant permissions directly on tables.

--
David Portas
SQL Server MVP
--


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:40 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com