﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server Security Skills / Testing Center  / Create Login with Select or Execute Permission / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 23 May 2013 09:16:38 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Create Login with Select or Execute Permission</title><link>http://www.sqlservercentral.com/Forums/Topic358616-119-1.aspx</link><description>&lt;P&gt;Yeah, if you want the user to be able to read all the user tables in the database.&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;</description><pubDate>Wed, 18 Apr 2007 10:03:00 GMT</pubDate><dc:creator>Greg Charles</dc:creator></item><item><title>RE: Create Login with Select or Execute Permission</title><link>http://www.sqlservercentral.com/Forums/Topic358616-119-1.aspx</link><description>Making the login db_datareader on the desired database would work as well, wouldn't it?</description><pubDate>Wed, 18 Apr 2007 07:12:00 GMT</pubDate><dc:creator>Mister Sachmo</dc:creator></item><item><title>RE: Create Login with Select or Execute Permission</title><link>http://www.sqlservercentral.com/Forums/Topic358616-119-1.aspx</link><description>&lt;P&gt;1. create a login, preferably one that uses Windows authentication2. create a database user by granting database access to the login3. give the user SELECT permission to the objects you want the user to       access or add the user as a member of the db_datareader fixed database role if you want the user to access all tables in a database&lt;/P&gt;&lt;P&gt;You can do all of this in Enterprise Manager or use system stored procedures:sp_grantlogin, sp_grantdbaccess.&lt;/P&gt;&lt;P&gt;By the way, you'll get more responses if you post in the SECURITY forum rather than this one, which is a testing forum.&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;</description><pubDate>Tue, 17 Apr 2007 08:56:00 GMT</pubDate><dc:creator>Greg Charles</dc:creator></item><item><title>Create Login with Select or Execute Permission</title><link>http://www.sqlservercentral.com/Forums/Topic358616-119-1.aspx</link><description>&lt;P&gt;Hi All, I want to create login with following points&lt;/P&gt;&lt;P&gt;1) User can execute only SELECT statements from query analyser , no DML statements&lt;/P&gt;&lt;P&gt;Please help me for same. &lt;/P&gt;&lt;P&gt;Thanking you in advance. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Mon, 16 Apr 2007 08:34:00 GMT</pubDate><dc:creator>Mukesh-366255</dc:creator></item></channel></rss>