Hi all,
i am trying to create a database user who has access to a database but not full access. I want him to be able to write (create new tables, stored procedures, views etc) but i want to restrict his rights over some tables. If i have 10 tables i want him to access 6 of them and not be able to touch the rest 4 or anything that is using one of these 4 tables. If there is a view that uses on of these restricted tables i want it to be not accessible to the user also, same for stored procedures etc.
i set the user as teh db ovner and restricted his rights over a table and he cant read the contents of teh table but can still change its design. And restricting his rights over that table didnt stop the user to see the contents of a view that uses this table.
any ideas how this could be done?
thank you
-shane
i am trying to create a database user who has access to a database but not full access. I want him to be able to write (create new tables, stored procedures, views etc) but i want to restrict his rights over some tables. If i have 10 tables i want him to access 6 of them and not be able to touch the rest 4 or anything that is using one of these 4 tables. If there is a view that uses on of these restricted tables i want it to be not accessible to the user also, same for stored procedures etc.
i set the user as teh db ovner and restricted his rights over a table and he cant read the contents of teh table but can still change its design. And restricting his rights over that table didnt stop the user to see the contents of a view that uses this table.
any ideas how this could be done?
thank you
-shane