Re: DENY ALL for all tables
From: Andrew J. Kelly (akelly@targitinteractive.com)
Date: 08/07/02
- Next message: ming: "NT Authentication for ASP applications"
- Previous message: kevin: "Re: DENY ALL for all tables"
- In reply to: kevin: "Re: DENY ALL for all tables"
- Next in thread: Cindy Gross: "Re: DENY ALL for all tables"
- Reply: Cindy Gross: "Re: DENY ALL for all tables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Andrew J. Kelly" <akelly@targitinteractive.com> Date: Wed, 7 Aug 2002 10:19:49 -0400
To the best of my knowledge the default is NO permissions. You have to
place them in that role for them to have those permissions.
-- Andrew J. Kelly SQL MVP Targitinteractive, Inc. "kevin" <kenglert@nacg.ca> wrote in message news:403a01c23e12$e54c1fe0$95e62ecf@tkmsftngxs02... > I've created a new group called [SQLREADERS]. This group > needs read access to some tables but not all. The default > for SQL is to allow new users/groups read access to all > tables for the role db_datareader. I need to remove > access to all tables and then give access back for only > the tables I want the new group to be able to read. Using > Enterprise Manager (and clicking through one table at a > time) would take a while for over 2000 tables. > > I thought that using DENY ALL TO [SQLREADERS] would work > but it only works on tables belonging to the dbo owner. > The only way that I can get it to work is by specifying > one table at a time like DENY ON owner.tablename TO > [SQLREADERS]. > >-----Original Message----- > >Why are you trying to DENY all of them? How did they > get access in the > >first place? > > > >-- > >Andrew J. Kelly SQL MVP > >Targitinteractive, Inc. > > > > > > > >"Kevin" <kenglert@nacg.ca> wrote in message > >news:3e3f01c23d84$27495550$95e62ecf@tkmsftngxs02... > >> I'd like to use the DENY ALL command so that all tables > >> are restricted for a database. The problem is that most > >> tables have a different owner than DBO. DENY ALL works > >> great for dbo.customers but new.customers (where dbo and > >> new are owners). Is there an easy way to issue the DENY > >> ALL command for all tables no matter who the owner is? > > > > > >. > >
- Next message: ming: "NT Authentication for ASP applications"
- Previous message: kevin: "Re: DENY ALL for all tables"
- In reply to: kevin: "Re: DENY ALL for all tables"
- Next in thread: Cindy Gross: "Re: DENY ALL for all tables"
- Reply: Cindy Gross: "Re: DENY ALL for all tables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|