Re: doing select without grant
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Thu, 20 Mar 2008 07:56:49 -0700
Roy Goldhammer (roy@xxxxxxx) writes:
I have store procedure with dinamic sql which run select from 2 tables.
I want my users to run my store procedure without granting the select on
them.
How can i do it?
If you are on SQL 2000, forget about it.
If you are on SQL 2005, sign the procedure with a certificate and
grant permission to a created from the certificate. Details here:
http://www.sommarskog.se/grantperm.html
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.
- References:
- doing select without grant
- From: Roy Goldhammer
- doing select without grant
- Prev by Date: Re: doing select without grant
- Next by Date: Re: Issue with Admin in Sql Server 2005
- Previous by thread: Re: doing select without grant
- Index(es):
Relevant Pages
|