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
 General SQL Server Forums
 New to SQL Server Administration
 security
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

swathi3003
Starting Member

20 Posts

Posted - 10/10/2013 :  07:14:04  Show Profile  Reply with Quote

I am bit struggling with this one


Can anyone help me with this issue
:::::

i just want a user to see only one view in specific database(he can have select option only on specific view)..rest of all will be hide from user even systemdatabases ,logins ,another databases....how can i achieve this..even i dn't want him to see the names also..

James K
Flowing Fount of Yak Knowledge

3643 Posts

Posted - 10/10/2013 :  08:15:29  Show Profile  Reply with Quote
You have to DENY VIEW ANY DATABASE permission, and then grant select permission on the view on the specific database. It has been a while since I tried this, so the details are vague in my memory. There are some caveats - for example, if a user has dbo role in a database they will be able to see it etc. So please do some research and experimentation starting with this page: http://technet.microsoft.com/en-us/library/ms189077(v=sql.105).aspx
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