Home > Archive > Microsoft SQL Server forum > July 2005 > security of mssql database?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author security of mssql database?
Markon

2005-07-23, 8:38 pm

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)


David Portas

2005-07-24, 3:23 am

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
--


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com