In our database we have about 20 users, that is used be some program (and users are added with this program). Now there was new requirement to use 2 database and do not allow delete data from one database.
What would be easiest way to deny insert/delete access for some tables (not all)? All users have db_datareader
, db_datawriter
.
Best Answer
It would be confusing if you granted someone
db_datawriter
and then denied themdelete
rights. So if you can, remove them from thedb_datawriter
and then grant them the rights they need: