Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Security / July 2008

Tip: Looking for answers? Try searching our database.

Revoke Table, Grant Execute on Proc, but still get Permission Deni

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JasonRhinehart - 07 Jul 2008 15:19 GMT
All,
I'm using SQL 2000 and have:
* created a role
* granted execute to my procs for that role
* revoked on tables being accessed via the procs
* added my db user to the role

When I try to exec the procs, I get problems accessing the underlying
tables.  I don't want any db user to have direct access to these tables, only
permission to exec procs.  All objects are owned by dbo.  

Can anyone help explain what I'm doing wrong?
Thanks,
Jason
Hugo Kornelis - 07 Jul 2008 20:41 GMT
>All,
>I'm using SQL 2000 and have:
[quoted text clipped - 10 lines]
>Thanks,
>Jason

Hi Jason,

Are the stored procedures owned by dbo as well, or only the tables and
views?

Is any dynamic SQL used in your stored procedures?

Signature

Hugo Kornelis, SQL Server MVP
My SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.