SQL Server 7.0 ignores user permissions
From: Jon Ley (no.email_at_nospam.com)
Date: 10/27/03
- Next message: Dejan Sarka: "Re: SQL Server 7.0 ignores user permissions"
- Previous message: Allan Mitchell: "Re: Database security"
- Next in thread: Dejan Sarka: "Re: SQL Server 7.0 ignores user permissions"
- Reply: Dejan Sarka: "Re: SQL Server 7.0 ignores user permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 27 Oct 2003 12:23:25 -0000
I am having a problem restricting write access to tables in my database.
In my database I have a table called, for the sake of argument, 'TableX'.
In my SQL Server Logins, I have set up a login for 'Domain Users' using NT
authentication, and a login called 'FullTableX', using SQL Server
authentication.
I have added two users to my database relating to the above logins.
I have added a role to my database called 'ReadTableX' with 'Domain Users'
as a member of this role. 'ReadTableX' has SELECT permission only on a
restricted set of tables.
The only other role that 'Domain Users' is a member of is 'public', and
'public' has no permissions on any of my tables.
The user 'FullTableX' is a member of 'public', 'db_datareader' and
'db_datawriter'
With the above settings, I would expect user 'FullTableX' to have full
access (Select, Insert, Update and Delete) on all my database tables (so far
so good), but any user connecting to the database with NT authentication
(via ODBC System DSN) should only have read access to the limited set of
tables. However, what is happening is that NT authenticated users also have
full access to all of the tables.
What am I missing here??
- Next message: Dejan Sarka: "Re: SQL Server 7.0 ignores user permissions"
- Previous message: Allan Mitchell: "Re: Database security"
- Next in thread: Dejan Sarka: "Re: SQL Server 7.0 ignores user permissions"
- Reply: Dejan Sarka: "Re: SQL Server 7.0 ignores user permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|