Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

authority questions

Status
Not open for further replies.

swoodring

Programmer
Joined
Dec 7, 2000
Messages
114
Location
US
I need to give a user access to 3 tables so that he can copy them from the sql server to his pc via an odbc connection. I set his profile up but trying to decide what authority he needs. If I deny datareader and datawriter on the db at the use level and then go into the tables and give him read access or select access on the 3 tables is that going to be enough authority to allow him to copy the tables. I don't want him having add/update access.
 

I've never had reason to use the roles, db_denydatareader and db_denydatawriter. From what I've read, these roles may cause problems. For example, there is this extract from "Microsoft SQL Server 7.0 Administrator's Companion."

The db_denydatareader and db_denydatawriter roles' permissions also apply to all objects in the database; therefore, you should only use them to place global restrictions on specific users. Remember that membership in db_denydatareader and db_denydatawriter is like having an explicit DENY SELECT or DENY INSERT, UPDATE, DELETE executed for their member accounts. Members of those roles will not be able to read or write data, no matter what permissions they receive from other roles. Be very careful when using them. Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top