row level security without views
- From: "Nikhil" <nikhilukidwe@xxxxxxxxx>
- Date: 25 Sep 2006 23:50:28 -0700
I want to implement row level security in SQL Server 2005 without
implementing views. The desired effect is firing a query on a table
like "select * from <tablename>" should return only rows which are
accessible to the logged in user. Which rows are accessible will be
decided using some data in another table. This table will have user
login name and one or more IDs associated with it. These IDs will be FK
in the table on which we fire select (or update/delete) query. I need
to device a solution such that the select query will return all rows
from the table which contain the ID that is assigned to the logged in
user. Is it possible in SQL Server 2005 without implmenting views on
each table?
Thanks in advance.
Nikhil.
.
- Follow-Ups:
- Re: row level security without views
- From: Uri Dimant
- Re: row level security without views
- Prev by Date: Re: Hacking the sa password
- Next by Date: Re: row level security without views
- Previous by thread: Re: Hacking the sa password
- Next by thread: Re: row level security without views
- Index(es):
Relevant Pages
|