sql server - how to set password before allowing access to db

Hi Experts,
I want to set a password so that a password is required before anyone can see the tables or stored proc in an sql server 2000 db. It is on a win xp pro environment. How can I do that using EM. Thanks in advance for help
uzairpAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

arnoldCommented:
disabled the public access.  Lookinto the login/security/users in EM.  Disabling the Windows login access into the SQL is another approach.
0
nayernaguibCommented:
In the SQL Server Enterprise Manager, browse to the Security\Logins section. Add any number of accounts that you would like to have. For each created account, open the account properties, and from the Database Access tab, specify the databases that this account can access, and then for each selected database, specify the database roles allowed for this account on this specific database. Next, you assign created accounts to appropriate users.

Example: User1 may have access only to the Northwind database, and on this database, User1 may have db_datareader and db_datawriter roles.

_______________

  Nayer Naguib
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.