SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Application roles
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

beamer112
Starting Member

1 Posts

Posted - 05/18/2012 :  11:24:17  Show Profile  Reply with Quote
Hi,

I have an application where I want the user to be able to execute queries under an application role context that has the least privileged access. This seems to work fine in general but I noticed that under this context that the user still has access to the master and tempdb and I would not want that. Is there anyone that could give an idea on how to lock this down also?

robvolk
Most Valuable Yak

USA
15559 Posts

Posted - 05/18/2012 :  12:11:54  Show Profile  Visit robvolk's Homepage  Reply with Quote
As long as the application role doesn't have elevated privileges in master there's nothing to worry about. You definitely don't want to block them from tempdb (if you even can), there are many features of SQL Server that use it, and queries could fail if it's blocked.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000