Re: Limiting access to SQL Server 2000 for our junior developers
From: Dandy Weyn [Dandyman] (dandy_at_dandyman.net)
Date: 08/09/05
- Next message: Uri Dimant: "Re: Limiting access to SQL Server 2000 for our junior developers"
- Previous message: Don Kiely: "Re: changing sa password"
- In reply to: bcrenshaw99_at_yahoo.com: "Re: Limiting access to SQL Server 2000 for our junior developers"
- Next in thread: Uri Dimant: "Re: Limiting access to SQL Server 2000 for our junior developers"
- Reply: Uri Dimant: "Re: Limiting access to SQL Server 2000 for our junior developers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 9 Aug 2005 08:30:45 +0200
Exactly,
However if you would add the role to the deny_data_writer as Uri specified,
the user would also not be able to insert/update which was needed in your
case.
You need to do this on every database yes.
-- Dandy Weyn [MCSE-MCSA-MCDBA-MCDST-MCT] http://www.dandyman.net Check my SQL Server Resource Pages at http://www.dandyman.net/sql <bcrenshaw99@yahoo.com> wrote in message news:1123565986.701157.304890@g49g2000cwa.googlegroups.com... > Hey Dandy > > Thanks for the quick response :-) > > I would assume that because database roles are created per database, I > would have do this on all 25 db's? > > > > > Dandy Weyn [Dandyman] wrote: >> Create a database role >> grant the role data_reader permission >> grant the role data_writer permission >> grant the role the CREATE TABLE permission >> deny the role DELETE Permission on any object >> >> >> >> -- >> Dandy Weyn >> [MCSE-MCSA-MCDBA-MCDST-MCT] >> http://www.dandyman.net >> >> Check my SQL Server Resource Pages at http://www.dandyman.net/sql >> <bcrenshaw99@yahoo.com> wrote in message >> news:1123541934.751731.34430@o13g2000cwo.googlegroups.com... >> > Hi All >> > >> > I've been given a task to lockdown access to our database server to our >> > 6 junior developers. We currently have about 25 databases on our SQL >> > Server. I'm trying to do the following the easiest way: >> > >> > 1. Create six separate logins >> > 2. For all 25 db's only allow selects, inserts and updates for them to >> > all tables. >> > 3. They must be able to create tables but not drop or truncate >> > anything. >> > 4. Of course no access to the master db >> > 5. Lock out all dangerous sp's like xp_cmdshell >> > >> > I'm new to SQL permissions. What would be the easiest way to doing >> > this without manually adding all the permissions table level for each >> > login? >> > >> > Thanks in advance for any help. >> > >> > Bill >> > >
- Next message: Uri Dimant: "Re: Limiting access to SQL Server 2000 for our junior developers"
- Previous message: Don Kiely: "Re: changing sa password"
- In reply to: bcrenshaw99_at_yahoo.com: "Re: Limiting access to SQL Server 2000 for our junior developers"
- Next in thread: Uri Dimant: "Re: Limiting access to SQL Server 2000 for our junior developers"
- Reply: Uri Dimant: "Re: Limiting access to SQL Server 2000 for our junior developers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|