Question

  Asked: May 21 2008   2:09 PM GMT
  Asked by: SQL Server Ask the Experts


Setting up access rights in a SQL Server 2005 database


Access Rights, SQL Server 2005, Permissions and settings, SQL Server security, ADO

Hello,
I'm using MS SQL Server 2005. I'm connecting to the server via ADO. I have a question about access rights. Let me explain this with an example.

Let's say I have a database named DB. In DB there are 3 tables. TBL_1, TBL_2, TBL_3.

I want to create a SQL Server user that will have all rights on TBL_1 and TBL_2. But I want this user to be able to only read TBL_3 (not delete, update or insert). There is something called schema in SQL Server, but I couldn't understand the use. Would you please tell me step by step how I can set up the access rights.

Like;
Step 1: Open SQL manager Logins

Step 2: Do XXXXX

Step 3: Do YYYY

Final step: Connect with the username and password to DB

Thank you!

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



Hello,
here you can find a good reading for this.

In addition this question was answered here.

Bye
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Security, SQL Server and Development.

Looking for relevant Security Whitepapers? Visit the SearchSecurity.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register

Mrdenny  |   May 21 2008  9:23PM GMT

Check out my SQL Server blog “SQL Server with Mr Denny” for more SQL Server information.