Re: Permissions not applied
- From: "Uri Dimant" <urid@xxxxxxxxxxx>
- Date: Sun, 21 Jan 2007 11:13:11 +0200
Hi
I did some testing but not usimg EM and it seems to be worked fine
use demo
create table test (c1 int,c2 int,c3 int)
go
grant select on test to test --test no syadmin,db_owner
go
deny select on test (c3) to test
--connected as test
select * from test
--Server: Msg 229, Level 14, State 5, Line 1
---SELECT permission denied on object 'test', database 'demo', owner 'dbo'.
select c1,c2,c3 from test
--Server: Msg 229, Level 14, State 5, Line 1
---SELECT permission denied on object 'test', database 'demo', owner 'dbo'.
select c1,c2 from test
--works fine
"Mogens Nielsen - WM-Data A/S"
<MogensNielsenWMDataAS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FC8AFD90-255F-4942-BC78-BE674669A1FE@xxxxxxxxxxxxxxxx
Hi everyone,
I'm facing a weird problem trying to set permissions on a column in Sql
Server 2000. When using Enterprise Manager the permission on some columns
don't get applied, that is setting Select permissions on Column1, Column2
and
Column3 only saves the permission on Column1 and Column2 but not on
Column3.
I tried setting the permissions with a GRANT script in the Query Analyzer,
but still without any luck.
Service Pack 4 has been applied to SQL Server 2000.
Has anyone had the same type of troubles setting permissions on columns?
TIA,
Mogens Nielsen
.
- Follow-Ups:
- Re: Permissions not applied
- From: Mogens Nielsen - WM-Data A/S
- Re: Permissions not applied
- References:
- Permissions not applied
- From: Mogens Nielsen - WM-Data A/S
- Permissions not applied
- Prev by Date: Re: Permissions on views
- Next by Date: Re: how to grant impersonate dbo permissions?
- Previous by thread: Re: Permissions not applied
- Next by thread: Re: Permissions not applied
- Index(es):
Relevant Pages
|
|