Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 logins to only access certain tables

Author  Topic 

esthera
Master Smack Fu Yak Hacker

1410 Posts

Posted - 2007-02-13 : 04:40:00
i want to be able to create a login to my database that cannot access the whole db but only certain tables.

how do i do this in sql 2005?

Kristen
Test

22859 Posts

Posted - 2007-02-13 : 07:12:59
As per other post http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=79057 :

Create a Role, Grant appropriate permissions to the tables you want them to have access to (or DENY access to the ones they cannot access) then Grant that Role to the relevant users/logins

Kristen
Go to Top of Page
   

- Advertisement -