We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

SQL Server permissions question

skbohler
skbohler asked
on
Medium Priority
234 Views
Last Modified: 2012-05-11
We're running SQL Server 2008

I want to create a login and give it access to one database (which I did). But, when this login connects via Management Studio, they can see the names of the other databases. How can I hide even the ability to see what other databases exist?

Thanks in advance.
Comment
Watch Question

Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
Thanks for your reply.

I have a couple of questions.

first, this is a user I've already created. I'm going to delete it.

What is the proper order for creating a user.

Do I first create a Login under Security, then add that user under Users for the database?

How do I "change the Owner" of the database to the new account?

Author

Commented:
OK, I think I followed the instructions properly.

However, even though the user is the db_owner of the database, when they login, they can see no databases now.

??

Author

Commented:
OK, I finally got it working.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.