[RESOLVED] Restricting Access to Tables - SQL Server
I have a SQL Server Database 2005
I would like to be able to "lock out" some tables so that a programmer connecting to the database cannot access certain tables
Is this possible ?
Alternatively, I guess we could create anoth database which is a copy of the main database EXCLUDING the tables I want secured, and allow the programmer to access the new database for reporting, etc
What is the normal way to deal with this requirement ?
Thanks
Re: Restricting Access to Tables - SQL Server
That is exactly what security in SQL Server is all about.
You can restrict (or grant) access to anything, nothing, or anything in between. Either manually clamp down on access for that single login, or create a 'Programmer' schema, and apply it to the login.
You can even restrict access based on columns if you care to go that bad.
Re: Restricting Access to Tables - SQL Server
Re: Restricting Access to Tables - SQL Server
Read the links provided above:
Basically - you create different users. Assign those users with the proper rights, to the proper tables and presto - access is restricted :)
Re: Restricting Access to Tables - SQL Server
What more could I ask for ?
Thanks Guys - terriffic ! :wave: