Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Security / September 2006

Tip: Looking for answers? Try searching our database.

row level security without views

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nikhil - 26 Sep 2006 07:50 GMT
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.
Uri Dimant - 26 Sep 2006 11:46 GMT
Hi
http://www.microsoft.com/technet/prodtechnol/sql/2005/multisec.mspx

>I want to implement row level security in SQL Server 2005 without
> implementing views. The desired effect is firing a query on a table
[quoted text clipped - 10 lines]
> Thanks in advance.
> Nikhil.
Nikhil - 27 Sep 2006 06:32 GMT
Thanks Uri,
I have already seen this article. This article explains the
"implementation" of row-level security using existing constructs like
tables,views and roles. I wanted to know if SQL Server 2005 has any
built-in support for the row level security and I think it is not
there.
Please correct me if I am wrong.

Nikhil.

> Hi
> http://www.microsoft.com/technet/prodtechnol/sql/2005/multisec.mspx
[quoted text clipped - 13 lines]
> > Thanks in advance.
> > Nikhil.
Uri Dimant - 27 Sep 2006 07:39 GMT
> tables,views and roles. I wanted to know if SQL Server 2005 has any
> built-in support for the row level security and I think it is not
> there.
> Please correct me if I am wrong.

Not , that I 'm aware

> Thanks Uri,
> I have already seen this article. This article explains the
[quoted text clipped - 23 lines]
>> > Thanks in advance.
>> > Nikhil.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.