Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Database Password Protected

Author  Topic 

immad
Posting Yak Master

230 Posts

Posted - 2013-09-07 : 04:44:48
Hello ,

please can u tell me
how to make my sqlserver 2005 database password protected.
i make a database and i want to make a password protected.

Thanks For the help

immad uddin ahmed

James K
Master Smack Fu Yak Hacker

3873 Posts

Posted - 2013-09-07 : 08:38:17
Not sure what you mean by password protected. By default, unless you create logins with no password (or leave sa account with no password), the database server and hence the database is password protected.

Were you thinking about encryption?

Go to Top of Page

immad
Posting Yak Master

230 Posts

Posted - 2013-09-09 : 01:42:49
quote:
Originally posted by James K

Not sure what you mean by password protected. By default, unless you create logins with no password (or leave sa account with no password), the database server and hence the database is password protected.

Were you thinking about encryption?





immad uddin ahmed
Go to Top of Page

immad
Posting Yak Master

230 Posts

Posted - 2013-09-09 : 01:49:23
quote:
Originally posted by immad

quote:
Originally posted by James K

Not sure what you mean by password protected. By default, unless you create logins with no password (or leave sa account with no password), the database server and hence the database is password protected.

Were you thinking about encryption?





i mean to say that if i have 2 database in my sql server 2005 and i want to make one database password protected so no body can see my stored procedure no body can see aur edit my data so is that any option given by sql server 2005

immad uddin ahmed



immad uddin ahmed
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2013-09-09 : 02:23:13
You can use "CREATE PROCEDURE ... WITH ENCRYPTION", or "ALTER PROCEDURE ... WITH ENCRYPTION".



Microsoft SQL Server MVP, MCT, MCSE, MCSA, MCP, MCITP, MCTS, MCDBA
Go to Top of Page
   

- Advertisement -