Re: Using script to list users and their allocated security

From: Wayne Snyder (wayne.nospam.snyder_at_mariner-usa.com)
Date: 02/15/05


Date: Tue, 15 Feb 2005 09:25:36 -0500

Now that I think about it, I doubt the views include permissions obtained
via system roles, (but I do not know)... So check that out as well..

-- 
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Andrewb" <Andrewb@discussions.microsoft.com> wrote in message 
news:88D81F5A-7433-408A-8E9A-07523B3D8202@microsoft.com...
> If you are reading this for a second time my apologies.I consider this to 
> be
> both general and a security issue.
>
> Is the question in the tilte possible? I am trying to select users/logins 
> in
> a SQL Server 2000 database with read permissions or write permissions via
> writng sql script.
>
> I want to use asp to restrict functionality based on read write database
> access to only certain users without using logging in pages and a another
> table but to be recognised simply from their network log in.
>
> 


Relevant Pages

  • Re: Execute Persmission denied on object sp_OACreate
    ... > SQL Server is creating a job behind the scenes. ... > permissions. ... > SA account password and gaining access to the database. ... >>> How can get a user permissions to execute these stored procedures ...
    (microsoft.public.sqlserver.security)
  • Re: Newbie: I dont understand user permissions for table access
    ... > My database is remote to my workstation. ... > tables/fields WITHOUT specifying anything in the permissions dialogs? ... >> HOW are you connecting to SQL Server? ... what rights/permissions have been granted to the PUBLIC role? ...
    (microsoft.public.sqlserver.server)
  • Re: Execute Persmission denied on object sp_OACreate
    ... SQL Server is creating a job behind the scenes. ... SA account password and gaining access to the database. ... > SQL Server doesn't check permissions on indirectly referenced objects as ... > the proxy account security context for non-sysadmin users from Enterprise ...
    (microsoft.public.sqlserver.security)
  • Re: Security question ..
    ... What I want to prevent is any access to the database accept through our ... application unless you have elevated permissions. ... Authentication, if he is smart enough to create an NT Auth ODBC connection ... passes through to the database or to use SQL Server authentication. ...
    (microsoft.public.sqlserver.server)
  • Re: Restricting access to rows of table(s)+WRITE rights in SQLsrvr2k
    ... one with select permissions and another with select, insert, update, delete ... Wayne Snyder, MCDBA, SQL Server MVP ... of SQL Server professionals. ... > and the other-with Read+WRITErights. ...
    (microsoft.public.sqlserver.security)