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

Row Level Security in DB2

Status
Not open for further replies.

viperrt10

Programmer
Aug 6, 2002
7
US
Is this possible to implement row level security in DB2? I am trying to find ways to restrict User access to table rows in other words if users query on a table they can access certain rows but not all of them.
 
Hi,
How do you plan to decide what data they are allowed to see? I am thinking that you could possibly set up views to do this......
Marc
 
Hello viperrt10 ,

You will not get far with the notion of setting locks on data, this is dealed with by DB2 itself, based on performance issues. Marc's suggestion is the way to go, give them access to certain views which contain the data they are allowed to see. (But this may not be much of a help if they need read rights on the table in order to access the view, this you can easily test though).

(These sort of issues give me a warm feeling when I work with a good BI tool that lets you set up these restrictions through a semantic layer, instead of having to do everything at database level) T. Blom
Information analist
Shimano Europe
tbl@shimano-eu.com
 
Thanks for your response. I will test this using views.
 
Could you please tell me what BI Tool does? and where can I get more information about them?? I did search on net but didn't find much. Thanks,
 
Hello viperrt10,

BI stand for business intelligence. The big ones are Business Objects,Cognos. There is a host of other products available from very professional to cheap-and dirty.
Personally I work with Business Objects which uses a semantic layer between the front-end (reporting module) and the source (database,flatfile,stored procedure, SQL)
I am a bit biased on this subject, so before I start doing a commercial for my favorite tool I'll try to give some sort of definition of what it does:

Reporting and analysis through graphical interface, presenting user with meaningful labeled objects, ensuring that user can create his own reports without specific knowledge of underlying data-structure or SQL with decent security set up to restrict data-access if needed.

Well, that was a definition "on the fly", but may give you some idea.

Biggest drawback of such nice tools is the initial cost of licenses........... T. Blom
Information analist
Shimano Europe
tbl@shimano-eu.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top