How To Make password Protected SQL Server 2005 Database
i.e when i open SQL Server database then ask for password.



How To Make password Protected SQL Server 2005 Database i.e when i open SQL Server database then as..

Answer / bhaskar

To some extent what you can/should do to restrict direct
access depends on you application and deployment
requirements, and what type of direct access you are trying
to prevent. For instance, if you are sole administrator of
all machines that the app will be deployed on, you may be
able to restrict access by locking down the SA password and
dissallowing access to the DB files via the filesystem.
If, on the other hand, you are not the admin, it will be
pretty much impossible to completely block direct access
against a determined admin. The databases can always be
copied via the filesystem to another machine with a useable
SA account.

Even if you are not the admin of the machine, there are
some things you can do to avoid casual access outside of
the app itself. Here is an article that talks about
securing your connection string:
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dnnetsec/html/THCMCh14.asp

You can also use an application role for server-side
permissions. See:
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/adminsql/ad_security_89ir.asp

Is This Answer Correct ?    5 Yes 2 No

Post New Answer

More SQL Server Interview Questions

Is a primary key unique?

0 Answers  


How to call stored procedure using http soap?

0 Answers  


What are the advantages dts has over bcp?

0 Answers  


What is cte (common table expression)?

0 Answers  


What are dml (data manipulation language) statements in ms sql server?

0 Answers  






How to insert stored procedure result into temporary table?

0 Answers  


Can you link only other SQL Servers or any database servers such as Oracle?

1 Answers  


in a table is b in column k (manikanta,sivananda,muralidhar) i want result like (mnikanta,sivnanda,murlidhar) please slove it

0 Answers  


What is Peer to peer Replication?

1 Answers   CarrizalSoft Technologies, HCL,


What is master database? : SQL Server Architecture

0 Answers  


How to add more data to the testing table in ms sql server?

0 Answers  


How do I partition a table in sql server?

0 Answers  


Categories