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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the elements of dbms?

949


How to get the definition of a user defined function back?

1030


What are the transaction properties?

996


How do I start and stop sql server?

1005


System variable and temporary variables

2232


What is a table called, if it has neither cluster nor non-cluster index? What is it used for?

1016


What is the difference between char and varchar2 datatype in sql?

1050


What is statement level trigger?

966


How to defragment table indexes?

965


Explain the types of indexes.

1182


Can two tables share the same primary key?

896


What is the fastest way to permanently delete a 1 million row table named customers?

1235


You want to use bids to deploy a report to a different server than the one you chose in the report wizard. How can you change the server url?

155


Please differentiate between a local and a global temporary table?

985


What is an execution plan? When would you use it?

957