If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > SQl Security - Check for specific data

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-01-12, 11:26
KAY1220 KAY1220 is offline
Registered User
 
Join Date: Feb 2012
Posts: 1
SQl Security - Check for specific data

I am working on Security. There are so many ways to do things in SQL. I was looking for some advice from someone who is experienced in this area.

I have a Stored Proc that is working perfectly. This Stored Proc is linked to a SSRS Report. When a user logs in, I need to check the following:

Is userid in the Table1?
If yes, don't look for that userid, again - bring back all columns
If no, look in Table2

Is userid in the Table2?
If yes, don't look for that userid, again - bring back all columns
If no, look in Table3

Is userid in the Table3?
If yes, don't look for that userid, again - bring back all columns
If no, stop looking
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On