Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To - Record level security
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Sécurité
Titre:
How To - Record level security
Divers
Thread ID:
01394657
Message ID:
01394657
Vues:
106
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform