Re: Sql Server - Basic Permissions Question
- From: "Uri Dimant" <urid@xxxxxxxxxxx>
- Date: Mon, 28 Aug 2006 08:14:42 +0300
It is possible to allow a user to have EXECUTE permissions on the sp's,
but deny everything else? E.g. If id did denyreader and allowed
EXECUTE on the sp's, would the command fail because the sp's have
SELECT and WHERE statements?
Yes , it will work. an User will be able to execute a SELECT statement even
he/she is a memeber of db_denydatareader database role
"Ranginald" <davidwank@xxxxxxxxx> wrote in message
news:1156718450.101845.48600@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have a SQL Server database and I want a user to be able to execute
stored procedures only. These stored procedures use SELECT and WHERE
statements and return integers.
I have set EXECUTE permissions to the sp's as needed for the user.
It is possible to allow a user to have EXECUTE permissions on the sp's,
but deny everything else? E.g. If id did denyreader and allowed
EXECUTE on the sp's, would the command fail because the sp's have
SELECT and WHERE statements?
Thanks!
-Ranginald
.
- References:
- Sql Server - Basic Permissions Question
- From: Ranginald
- Sql Server - Basic Permissions Question
- Prev by Date: Re: Sql Server - Basic Permissions Question
- Next by Date: RE: Login has all rigfhts but can login to sql
- Previous by thread: Re: Sql Server - Basic Permissions Question
- Next by thread: Re: Sql Server - Basic Permissions Question
- Index(es):
Relevant Pages
|