Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To - Record level security
Message
General information
Forum:
Microsoft SQL Server
Category:
Security
Title:
How To - Record level security
Miscellaneous
Thread ID:
01394657
Message ID:
01394657
Views:
104
In my current project a user should only be allowed to delete a record that they created... but they have permission to view all records regardless of who created them. I've discovered how to determine the current username via CURRENT_USER and am using that to insert into the appropriate record who the record belongs to. So here's the question:

Is security-by-record-ownership a roll-your-own type solution or does SQL Server (I'm using 2008) have something built in for this?
Brandon Harker
Sebae Data Solutions
Next
Reply
Map
View

Click here to load this message in the networking platform