Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Application Roles and permissions

Status
Not open for further replies.

MrPeds

Programmer
Joined
Jan 7, 2003
Messages
219
Location
GB
Hi,

I have defined an application role in my SQL Server 2000 database 'myRole'. This is becuase I only want users of a particular application to SELECT from 3 tables, and EXECUTE 9 stored procedures.

However, I am a little confused - if there are only the 3 tables used in the stored procedures do I have to grant SELECT permissions seperately, or does SQL Server assume that if the application has permission to execute te stored procedures then it has access to the tables as well?

Basically I am wondering if granting SELECT on the tables is overkill or not or if it is necessary.

Thanks in advance,

MrPeds
 
If you want them to be able to select from the tables outside of the stored procedures the users will need SELECT rights to the tables.

Denny
MCSA (2003) / MCDBA (SQL 2000) / MCTS (SQL 2005) / MCITP Database Administrator (SQL 2005)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
thank you.

MrPeds
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top