Avatar of RegWood79
RegWood79Flag for United States of America

asked on 

How to restrict access to only a certain view

Hi everybody:
   I wanted to know how can I restrict access to my sql server 2005 database so that a login can only query a view.  I have about 5 views created and I want a developer to only be able to query and create his app from those views.  I don't want them to be able to access anything else in the database just those views.  thank you for any help.  
Microsoft SQL Server 2005

Avatar of undefined
Last Comment
RegWood79
ASKER CERTIFIED SOLUTION
Avatar of rickchild
rickchild
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of RegWood79
RegWood79
Flag of United States of America image

ASKER

thanks rick
can you explain this in a little more detail to me.
Avatar of 60MXG
60MXG

First, open the Database.
Second, Click on + to open Views
Third, Right mouse click on the view and select "Properties"
Fourth, Click on "Permissions" and it will show the Permission Panel.
Fifth, Click on the "Grant" in the Select option.
SOLUTION
Avatar of 60MXG
60MXG

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of RegWood79
RegWood79
Flag of United States of America image

ASKER

60MXG, will this restrict them from the other objects in the db
Avatar of 60MXG
60MXG

yeah!
Avatar of RegWood79
RegWood79
Flag of United States of America image

ASKER

thanks guys that help me a lot.
Microsoft SQL Server 2005
Microsoft SQL Server 2005

Microsoft SQL Server 2005 is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning. It includes support for managing XML data and allows a database server to be exposed over web services using Tabular Data Stream (TDS) packets encapsulated within SOAP (protocol) requests.

72K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo