Re: SQL Server 7.0 ignores user permissions
From: Dejan Sarka (dejan_please_reply_to_newsgroups.sarka_at_avtenta.si)
Date: 10/27/03
- Next message: Linda: "dbcreator and restore?"
- Previous message: Jon Ley: "SQL Server 7.0 ignores user permissions"
- In reply to: Jon Ley: "SQL Server 7.0 ignores user permissions"
- Next in thread: Jon Ley: "Re: SQL Server 7.0 ignores user permissions"
- Reply: Jon Ley: "Re: SQL Server 7.0 ignores user permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 27 Oct 2003 14:23:38 +0100
Is Windows user a member of some Windows groups? It can get the permissions
through Windows groups as well. For example, after the installation, the
local Administrators group is added to the sysadmin role, so the members
have all permissions in SQL Server.
-- Dejan Sarka, SQL Server MVP Please reply only to the newsgroups. "Jon Ley" <no.email@nospam.com> wrote in message news:3f9d0e71$0$9467$ed9e5944@reading.news.pipex.net... > 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: Linda: "dbcreator and restore?"
- Previous message: Jon Ley: "SQL Server 7.0 ignores user permissions"
- In reply to: Jon Ley: "SQL Server 7.0 ignores user permissions"
- Next in thread: Jon Ley: "Re: SQL Server 7.0 ignores user permissions"
- Reply: Jon Ley: "Re: SQL Server 7.0 ignores user permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|