If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > SQL Server 2008 Permissions problem (newie))

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-18-09, 08:33
sanditon sanditon is offline
Registered User
 
Join Date: Dec 2009
Posts: 1
Red face SQL Server 2008 Permissions problem (newie))

I've got a database with 3 users, each one has to have permissions over different tables:

1. One have to have ONLY SELECT permission to all tables but 3.
2. Another one have to have ONLY INSERT permissions to 3 or 4 tables.
3. Another one have to have all permissions on all tables.

I don't have problems with the third one, but the first two have been a nightmare.

Right now number one is defined as db_datareader, deny permissions on SELECT for the three tables who should not, and SELECT WITH GRANT to all other tables.

But when accessing to SQL Server from the web aplication it says that it don't have SELECT permissions over one of the tables which it should.

I've given the permissions from the table properties and user properties dialog box.

What i'm doing wrong?
Reply With Quote
  #2 (permalink)  
Old 12-18-09, 12:28
Thrasymachus Thrasymachus is offline
SQL Server Street Fighter
 
Join Date: Nov 2004
Location: Down The Rabbit Hole
Posts: 7,979
is the application connecting to the sql server as the 3 users and their credentials or a different user name and password in a connection string somewhere?
__________________
software development is where smart people go to waste their lives
Reply With Quote
Reply

Tags
2008, grant, permissions, select

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On