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)
 Securing fields from access

Author  Topic 

Bill_C
Constraint Violating Yak Guru

299 Posts

Posted - 2009-09-01 : 09:00:33
What is the easiest way for me to stop peeps accessing a couple of the fields in one of my tables?
I only want them to see certain fields?

Thanks

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2009-09-01 : 09:03:13
Create a view on a table excluding those columns and give user access to the view, not to the table.

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page

Bill_C
Constraint Violating Yak Guru

299 Posts

Posted - 2009-09-01 : 09:13:33
OK, thanks

I'll probably have to create another usergroup also, and point it to that view.
Go to Top of Page
   

- Advertisement -