<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Identifying guest User using Policy Based Management</title>
	<atom:link href="http://blog.sqlauthority.com/2012/02/27/sql-server-identifying-guest-user-using-policy-based-management/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2012/02/27/sql-server-identifying-guest-user-using-policy-based-management/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Wed, 22 May 2013 19:03:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #018 &#124; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2012/02/27/sql-server-identifying-guest-user-using-policy-based-management/#comment-430071</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #018 &#124; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Sat, 02 Mar 2013 01:31:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=17550#comment-430071</guid>
		<description><![CDATA[[...] Identifying guest User using Policy Based Management One of the requests I received was whether we could create a policy that would prevent users unable guest user in user databases. Well, here is a quick tutorial to answer this. Let us see how quickly we can do it. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Identifying guest User using Policy Based Management One of the requests I received was whether we could create a policy that would prevent users unable guest user in user databases. Well, here is a quick tutorial to answer this. Let us see how quickly we can do it. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent McCracken</title>
		<link>http://blog.sqlauthority.com/2012/02/27/sql-server-identifying-guest-user-using-policy-based-management/#comment-408251</link>
		<dc:creator><![CDATA[Brent McCracken]]></dc:creator>
		<pubDate>Wed, 16 Jan 2013 00:14:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=17550#comment-408251</guid>
		<description><![CDATA[This is already covered by one of the Microsoft Best Practice Policies - Guest Permissions]]></description>
		<content:encoded><![CDATA[<p>This is already covered by one of the Microsoft Best Practice Policies &#8211; Guest Permissions</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dineshvishe1Dinesh</title>
		<link>http://blog.sqlauthority.com/2012/02/27/sql-server-identifying-guest-user-using-policy-based-management/#comment-402569</link>
		<dc:creator><![CDATA[dineshvishe1Dinesh]]></dc:creator>
		<pubDate>Wed, 02 Jan 2013 04:52:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=17550#comment-402569</guid>
		<description><![CDATA[I am sys admin of server still Error come like&#039; can not create the trigger &#039;syspolicy_server_trigger&#039;,because you do not have permission&#039;.what permission required?]]></description>
		<content:encoded><![CDATA[<p>I am sys admin of server still Error come like&#8217; can not create the trigger &#8216;syspolicy_server_trigger&#8217;,because you do not have permission&#8217;.what permission required?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashish jain</title>
		<link>http://blog.sqlauthority.com/2012/02/27/sql-server-identifying-guest-user-using-policy-based-management/#comment-257499</link>
		<dc:creator><![CDATA[Ashish jain]]></dc:creator>
		<pubDate>Tue, 28 Feb 2012 05:42:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=17550#comment-257499</guid>
		<description><![CDATA[Hello Sir,

This is very Good post. I learnt about using policy based management after reading this post. This looks very strong feature indeed.  Thanks for this gyaan. 
              
Following is the answer of your question, according to me. 

First Condition should be like this..

1) First Condition 

Facet: User
Expression:
@Name = ‘guest’
AND @hasDBAccess = False 

2) Second Condition

Facet: Database
Expression:
@Name != ‘msdb’
AND @Name != ‘tempdb’
AND @Name != ‘master’




Thanks,
Ashish]]></description>
		<content:encoded><![CDATA[<p>Hello Sir,</p>
<p>This is very Good post. I learnt about using policy based management after reading this post. This looks very strong feature indeed.  Thanks for this gyaan. </p>
<p>Following is the answer of your question, according to me. </p>
<p>First Condition should be like this..</p>
<p>1) First Condition </p>
<p>Facet: User<br />
Expression:<br />
@Name = ‘guest’<br />
AND @hasDBAccess = False </p>
<p>2) Second Condition</p>
<p>Facet: Database<br />
Expression:<br />
@Name != ‘msdb’<br />
AND @Name != ‘tempdb’<br />
AND @Name != ‘master’</p>
<p>Thanks,<br />
Ashish</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ganesh Narim</title>
		<link>http://blog.sqlauthority.com/2012/02/27/sql-server-identifying-guest-user-using-policy-based-management/#comment-257124</link>
		<dc:creator><![CDATA[Ganesh Narim]]></dc:creator>
		<pubDate>Mon, 27 Feb 2012 05:47:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=17550#comment-257124</guid>
		<description><![CDATA[Thank you sir,

my guess is right on this topic..????

and my best friend and myself we both are awaiting for your reply on this..!!!

http://blog.sqlauthority.com/2012/02/26/sql-server-standards-support-protocol-data-portability-3-important-sql-server-documentations-for-downloads/#comments

Please suggest him..!!!]]></description>
		<content:encoded><![CDATA[<p>Thank you sir,</p>
<p>my guess is right on this topic..????</p>
<p>and my best friend and myself we both are awaiting for your reply on this..!!!</p>
<p><a href="http://blog.sqlauthority.com/2012/02/26/sql-server-standards-support-protocol-data-portability-3-important-sql-server-documentations-for-downloads/#comments" rel="nofollow">http://blog.sqlauthority.com/2012/02/26/sql-server-standards-support-protocol-data-portability-3-important-sql-server-documentations-for-downloads/#comments</a></p>
<p>Please suggest him..!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2012/02/27/sql-server-identifying-guest-user-using-policy-based-management/#comment-257118</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Mon, 27 Feb 2012 05:25:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=17550#comment-257118</guid>
		<description><![CDATA[I agree my friend.

I fixed it. It was indeed a typo and I missed it.]]></description>
		<content:encoded><![CDATA[<p>I agree my friend.</p>
<p>I fixed it. It was indeed a typo and I missed it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Subramanya Sharma</title>
		<link>http://blog.sqlauthority.com/2012/02/27/sql-server-identifying-guest-user-using-policy-based-management/#comment-257113</link>
		<dc:creator><![CDATA[Subramanya Sharma]]></dc:creator>
		<pubDate>Mon, 27 Feb 2012 04:55:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=17550#comment-257113</guid>
		<description><![CDATA[We can merge condition 1 and 2 as one condition. As the facets of the conditions are same, we can combine using the And operator. By this we can implement the same thing in two conditions.]]></description>
		<content:encoded><![CDATA[<p>We can merge condition 1 and 2 as one condition. As the facets of the conditions are same, we can combine using the And operator. By this we can implement the same thing in two conditions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ganesh Narim</title>
		<link>http://blog.sqlauthority.com/2012/02/27/sql-server-identifying-guest-user-using-policy-based-management/#comment-257111</link>
		<dc:creator><![CDATA[Ganesh Narim]]></dc:creator>
		<pubDate>Mon, 27 Feb 2012 04:41:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=17550#comment-257111</guid>
		<description><![CDATA[Hi Pinal Sir,

I guess the only databases that should ever have the guest account enabled are databases the &#039;master&#039;,&#039;msdb&#039; and &#039;tempdb&#039; databases.These enables users access to create job&#039;s,temporary objects,and connect to SQL server. so only the guest user have permissions by default in the &#039;model&#039; database because &#039;model&#039; is  template for the all databases so this guest user will include all new databases.

So I think this is the best way to clear the guest user....!!!!

If i&#039;m not wrong that above code should be like with...(!=) instead of (=), screen shot is Ok sir.

Facet: Database
Expression:
@Name != ‘msdb’
AND @Name != ‘tempdb’
AND @Name != ‘master’

Thanks.]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal Sir,</p>
<p>I guess the only databases that should ever have the guest account enabled are databases the &#8216;master&#8217;,'msdb&#8217; and &#8216;tempdb&#8217; databases.These enables users access to create job&#8217;s,temporary objects,and connect to SQL server. so only the guest user have permissions by default in the &#8216;model&#8217; database because &#8216;model&#8217; is  template for the all databases so this guest user will include all new databases.</p>
<p>So I think this is the best way to clear the guest user&#8230;.!!!!</p>
<p>If i&#8217;m not wrong that above code should be like with&#8230;(!=) instead of (=), screen shot is Ok sir.</p>
<p>Facet: Database<br />
Expression:<br />
@Name != ‘msdb’<br />
AND @Name != ‘tempdb’<br />
AND @Name != ‘master’</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
