Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How you would rewrite the sql query to return the customerid sorted numerically?

0 Answers  


What is statement level trigger?

0 Answers  


What is the difference between cube operator and rollup operator? : SQL Server Architecture

0 Answers  


How to find the second largest salary in the emp database and also How to find 3rd,4th and so on ........ in the emp database plz mail the answer @ mak2786@gmail.com

35 Answers   Oracle, Scend, TechInfini,


How to create a testing table with test data in ms sql server?

0 Answers  


What is the function of sql server agent windows service?

0 Answers  


Do you know the cursor optimization tips?

0 Answers  


Explain different types of BACKUPs avaialabe in SQL Server? Given a particular scenario, how would you go about choosing a backup plan?

0 Answers  


What is the default port for SQL Server over a firewall?

0 Answers   Microsoft,


How can you list all the columns in a database?

0 Answers  


Which tcl commands are available on the sql server?

0 Answers  


Define the one-to-one relationship while designing tables.

0 Answers  


Categories