I have views in database that select records from a table in another database in the same server.
Can I set security in such a way for not to give direct access to the table. I know than it is possible if a table and views are in the same database and have the same owner, but I failed to get the same for different databases.
Thanks.
The following thread includes an example of how to achieve this via signed code:
Also, for another option, search for "cross database ownership chaining" in Books Online. There is a server option that enables this. BOL contains information on it.
Thanks
Laurentiu
No comments:
Post a Comment