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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Security on Win2k

Status
Not open for further replies.

StoneDeCroze

Programmer
Feb 11, 2002
36
0
0
GB
Hi All,

I would like users to only be able to view data through views and NOT directly from the underlying tables as I want to filter out certain records.

However, if I set denydatareader on the table the users are get Access Denied when they open the views (even if they have read permissions to the view).

So, what security settings can I set on the views and tables to get this to work?

One possible problem: the views are in one Database and linked to tables in another.

Thanks for any help
Peter
 
Win2k? Brain Haemorrhage.

I mean SQL 2000.

Sorry for the confusion,

Peter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top