Re: Inherting Permissions Across Databases
From: Dan Guzman (danguzman@nospam-earthlink.net)
Date: 05/23/02
- Next message: Richard Waymire [MS]: "Re: Job failed"
- Previous message: Mark: "Re: SQL Worm"
- In reply to: Mike Barzilli: "Inherting Permissions Across Databases"
- Next in thread: mike barzilli: "Re: Inherting Permissions Across Databases"
- Reply: mike barzilli: "Re: Inherting Permissions Across Databases"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Dan Guzman" <danguzman@nospam-earthlink.net> Date: Wed, 22 May 2002 23:27:49 -0500
The feature you are referring to is known as an 'ownership chain'. As
long as the same user owns all of the objects involved, permissions on
the referenced objects are not required.
In the case of cross-database object references, the databases need to
have the same owner in order for the ownership chain to be unbroken for
dbo-owned objects. You can change database ownership with
sp_changedbowner.
For more info, see the Books Online and
http://support.microsoft.com/default.aspx?scid=kb;en-us;q272424.
Hope this helps.
Dan Guzman
SQL Server MVP
-----------------------
SQL FAQ links (courtesy Neil Pike):
http://www.ntfaq.com/Articles/Index.cfm?DepartmentID=800
http://www.sqlserverfaq.com
http://www.mssqlserver.com/faq
-----------------------
"Mike Barzilli" <mike.barzilli@peoplefirst.com> wrote in message
news:670601c201fd$b3077800$19ef2ecf@tkmsftngxa01...
> Does anyone know if they changed how inheritance of
> permissions works between databases in a service pack?
>
> It used to work where a login and user in database "A"
> that was granted permissions to execute
> procedure "dbo.proc_a" would be allowed to execute any
> procs and access any tables that "dbo.proc_a" called
> internally even if they were in different databases;
> provided that login "A" also existed in those databases
> and that the owners of the object being called were the
> same as the calling procedure.
>
> I'm trying it now and it doesn't work??? Thanks for any
> help.
- Next message: Richard Waymire [MS]: "Re: Job failed"
- Previous message: Mark: "Re: SQL Worm"
- In reply to: Mike Barzilli: "Inherting Permissions Across Databases"
- Next in thread: mike barzilli: "Re: Inherting Permissions Across Databases"
- Reply: mike barzilli: "Re: Inherting Permissions Across Databases"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|