How To Make password Protected SQL Server 2005 Database
i.e when i open SQL Server database then ask for password.
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 |
How to rebuild all indexes on a single table?
What is an indexing strategy?
What xml support does the sql server extend?
What is the purpose of floor function?
What is dynamic cursor in SQL SERVER?
What is a transaction and what are ACID properties?
14 Answers Config Systems, IBM, TCS, Virtusa,
What is a non equi join?
How to select all columns of all rows from a table with a select statement in ms sql server?
Suppose you want to implement the following relationships while designing tables. How would you do it?a.) One-to-oneb.) One-to-manyc.) Many-to-many
What is Query Execution Plan? How does it help optimize or tune a database driven application?
What is the openxml statement in sql server?
what's the difference between a primary key and a unique key? : Sql server database administration
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)