Re: Security and Views
From: Marc Mertens (marc.mertens_at_azlan.com)
Date: 11/25/04
- Next message: Eniko Tegen: "RE: Beginner question!"
- Previous message: avnrao: "Re: query help needed!"
- In reply to: Michael Kellogg: "Re: Security and Views"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 25 Nov 2004 13:31:12 +0100
You can use sp_changeobjectowner to change the owner of a object, this
should solve your problem (you must ensure that all objects involved has the
same owner). There could still be a problem if the tables and the view are
in different databases, in that case the logins that are associated with the
owners of the objects should be the same (unless you have applied sp3a and
disabled cross databases ownership chaining, in that last case there is no
other solution than to give rights also on the tables).
Hopes this helps
Marc
"Michael Kellogg" <mkellogg@WEDELIVERcc3.com> wrote in message
news:Xns95AB6BDD190CEmkelloggWEDELIVERcc3@207.46.248.16...
> "Marc Mertens" <marc.mertens@azlan.com> wrote:
> > Do the view and the underlying tables hava all the same owner, if not
> > ensure that view and table have the same owner.
> > It could be usefull if you lookup 'broken ownership chain rule' in the
> > Books Online
>
> As a matter of fact, no. The tables are all owned by "dbo" and all the
> views, having been created by me, have my domain and login name in front
of
> them, which is annoying. How can I change them to be system-owned? Would
> this fix my access problem?
>
> --
> Michael Kellogg
> CC3 West DP Programming
> Running VFP 6-SP4
- Next message: Eniko Tegen: "RE: Beginner question!"
- Previous message: avnrao: "Re: query help needed!"
- In reply to: Michael Kellogg: "Re: Security and Views"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|