Re: Is there cascading permission?
- From: "Dan Guzman" <guzmanda@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 12 Oct 2006 19:40:20 -0500
Check out 'ownership chains' in the SQL Server Books Online. The principal is basically that permissions on indirectly referenced objects are not needed as long as the objects (or schema on 2005) involved have the same owner.
--
Hope this helps.
Dan Guzman
SQL Server MVP
"michael" <howlinghound@xxxxxxxxxxxxx> wrote in message news:0EED2BFD-1EA5-4DA8-A512-C4D8E91CEFC0@xxxxxxxxxxxxxxxx
Thanks. I'll look at the reference. BTW, your tag line is one of my favorite
all time sayings.
--
Michael Hockstein
"Arnie Rowland" wrote:
See:
Security -Giving Permissions through Stored Procedures
http://www.sommarskog.se/grantperm.html
--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
"michael" <howlinghound@xxxxxxxxxxxxx> wrote in message
news:F84CE2FB-8709-4B68-BB3C-9F86722B9A8E@xxxxxxxxxxxxxxxx
> So, if a user has permission to execute a stored procedure which in > turn
> consumes objects that the same user does not have explicit permissions
> defined, the stored procedure will execute without security issues?
>
> And, if a user has permission to execute a stored procedure which in > turn
> consumes objects that the same user is explicitly denied permisions, > will
> the
> stored procedure still execute without security issues?
>
> Where can I find documentation on how this security cascades?
>
>
> -- > Michael Hockstein
>
>
> "Uri Dimant" wrote:
>
>> Yes, it is.
>>
>> "michael" <howlinghound@xxxxxxxxxxxxx> wrote in message
>> news:CAB858A0-22F5-410C-842E-A0FE19C84343@xxxxxxxxxxxxxxxx
>> > Let's say that I have a view that has no explicit permissions >> > defined
>> > for
>> > users. Let's also say that I write a stored procedure which uses >> > this
>> > view.
>> >
>> > Now, if I give explicit permissions to a user to EXEC the stored
>> > procedure,
>> > will the procedure execute correctly even if I don't explicitily >> > give
>> > permissions (such as SELECT) for the user to the view?
>> >
>> >
>> > -- >> > Michael Hockstein
>>
>>
>>
.
- References:
- Re: Is there cascading permission?
- From: Uri Dimant
- Re: Is there cascading permission?
- From: Arnie Rowland
- Re: Is there cascading permission?
- From: michael
- Re: Is there cascading permission?
- Prev by Date: Re: Message when click on login user
- Next by Date: RE: Is There A Simple Way To Drop All Permissions Of A Role
- Previous by thread: Re: Is there cascading permission?
- Next by thread: Message when click on login user
- Index(es):
Relevant Pages
|
|