Execute SP to access table with no select permissions

From: Aaron Barkel (aaron_bar@hotmail.com)
Date: 11/19/02


From: "Aaron Barkel" <aaron_bar@hotmail.com>
Date: Tue, 19 Nov 2002 10:18:51 -0600


Here is the situation:

I recieve a subscription to a service that pushes data to a table in my DB.
Each time we recieve the push it destroys one table (refs) and recreates it.
I have a stored procedure in the DB that the public role has execute privs
on. This sp performs selects on 'refs' and returns a recordset to a VB
program. Each time we recieve the push and the table is deleted/recreated
the select permissions to the role 'public' are destroyed on the 'refs'
table. (All users are members of the public role only.) Is there a way to
execute a sp as a particular user inside Sql server 2000. Any other ideas on
how to circumvent or correct this issue?

Thanx,

A



Relevant Pages

  • Execute sp issue
    ... Each time we recieve the push it destroys one table (refs) and recreates it. ... I have a stored procedure in the DB that the public role has execute privs ...
    (microsoft.public.sqlserver.security)
  • GUI Button
    ... I am using the push button to recieve data(each time you ... push it pull in data) but there is an issue... ... I plan on taking 36 data ...
    (comp.soft-sys.matlab)