Sproc Permissions on Broken Ownership Chain
From: R Thomann (rthomann@wpsic.com)
Date: 07/05/02
- Next message: Michelle: "Re: Everyone Group"
- Previous message: Russell Fields: "Re: security permissions of roles\users on table rows"
- Next in thread: Dan Guzman: "Re: Sproc Permissions on Broken Ownership Chain"
- Reply: Dan Guzman: "Re: Sproc Permissions on Broken Ownership Chain"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "R Thomann" <rthomann@wpsic.com> Date: Fri, 5 Jul 2002 13:21:15 -0700
SQL7
I am looking to have a stored procedure (x.mysproc) that
selects and updates from various tables (y.theirtbl)
without the user (a) of the stored procedure needing
permissions to the tables (y.theirtbl). So user (a) only
has EXEC permission on sproc x.mysproc. I have tried
changing the owner of the sproc to a, y, and dbo in an
attempt to not break the ownership chain, and all failed.
It is my understanding that sprocs using tables with
different owners than the sproc cause the underlying tables
to need permissions granted to the user of the sproc.
user: a ...
permission: EXEC x.mysproc ...
sproc action: SELECT & UPDATE ...
table: y.theirtbl (owner must stay y as this is table for
a purchased package)
How can I setup owner/permissions on a sproc to do this?
Thanks!
Rodger Thomann
- Next message: Michelle: "Re: Everyone Group"
- Previous message: Russell Fields: "Re: security permissions of roles\users on table rows"
- Next in thread: Dan Guzman: "Re: Sproc Permissions on Broken Ownership Chain"
- Reply: Dan Guzman: "Re: Sproc Permissions on Broken Ownership Chain"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|