<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Vipul Shah's SQL Blogs : Guest User in SQL Server</title><link>http://blogs.technet.com/vipulshah/archive/tags/Guest+User+in+SQL+Server/default.aspx</link><description>Tags: Guest User in SQL Server</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Useful information about Guest Account in SQL Server</title><link>http://blogs.technet.com/vipulshah/archive/2007/08/15/useful-information-about-guest-account-in-sql-server.aspx</link><pubDate>Thu, 16 Aug 2007 00:26:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1760344</guid><dc:creator>vishah</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/vipulshah/comments/1760344.aspx</comments><wfw:commentRss>http://blogs.technet.com/vipulshah/commentrss.aspx?PostID=1760344</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8.5pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'"&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/ms190928.aspx"&gt;&lt;SPAN style="TEXT-DECORATION: none; text-underline: none"&gt;&lt;?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /&gt;&lt;v:shapetype id=_x0000_t75 stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"&gt;&lt;v:stroke joinstyle="miter"&gt;&lt;/v:stroke&gt;&lt;v:formulas&gt;&lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @0 1 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum 0 0 @1"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @2 1 2"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @3 21600 pixelWidth"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @3 21600 pixelHeight"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @0 0 1"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @6 1 2"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @7 21600 pixelWidth"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @8 21600 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @7 21600 pixelHeight"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @10 21600 0"&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;&lt;v:path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"&gt;&lt;/v:path&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:lock aspectratio="t" v:ext="edit"&gt;&lt;/o:lock&gt;&lt;/v:shapetype&gt;&lt;v:shape id=ctl00_LibFrame_ctl01img style="WIDTH: 12pt; HEIGHT: 12pt" alt="guest user" type="#_x0000_t75" o:spid="_x0000_i1025"&gt;&lt;v:imagedata o:href="cid:image001.gif@01C7C7B5.1F1A8C30" src="file:///C:\Users\vishah\AppData\Local\Temp\msohtmlclip1\01\clip_image001.gif"&gt;&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/SPAN&gt;&lt;SPAN style="BACKGROUND: #3399ff; COLOR: white"&gt;guest&lt;/SPAN&gt; user&lt;/A&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 11.25pt"&gt;&lt;A class="" name=sectionToggle0&gt;&lt;/A&gt;&lt;SPAN style="FONT-SIZE: 8.5pt; COLOR: blue; FONT-FAMILY: 'Verdana','sans-serif'"&gt;When a database is created, the database includes a &lt;/SPAN&gt;&lt;SPAN style="mso-bookmark: sectionToggle0"&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 8.5pt; BACKGROUND: #3399ff; COLOR: white; FONT-FAMILY: 'Verdana','sans-serif'"&gt;guest&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE: 8.5pt; COLOR: blue; FONT-FAMILY: 'Verdana','sans-serif'"&gt; user by default. Permissions granted to the &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 8.5pt; BACKGROUND: #3399ff; COLOR: white; FONT-FAMILY: 'Verdana','sans-serif'"&gt;guest&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE: 8.5pt; COLOR: blue; FONT-FAMILY: 'Verdana','sans-serif'"&gt; user are inherited by users that do not have a user &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8.5pt; BACKGROUND: #3399ff; COLOR: white; FONT-FAMILY: 'Verdana','sans-serif'"&gt;account&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8.5pt; COLOR: blue; FONT-FAMILY: 'Verdana','sans-serif'"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8.5pt; BACKGROUND: #3399ff; COLOR: white; FONT-FAMILY: 'Verdana','sans-serif'"&gt;in&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8.5pt; COLOR: blue; FONT-FAMILY: 'Verdana','sans-serif'"&gt; the database.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 11.25pt"&gt;&lt;SPAN style="FONT-SIZE: 8.5pt; COLOR: blue; FONT-FAMILY: 'Verdana','sans-serif'"&gt;The &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 8.5pt; BACKGROUND: #3399ff; COLOR: white; FONT-FAMILY: 'Verdana','sans-serif'"&gt;guest&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE: 8.5pt; COLOR: blue; FONT-FAMILY: 'Verdana','sans-serif'"&gt; user cannot be dropped, but it can be disabled by revoking its CONNECT permission. The CONNECT permission can be revoked by executing REVOKE CONNECT FROM &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8.5pt; BACKGROUND: #3399ff; COLOR: white; FONT-FAMILY: 'Verdana','sans-serif'"&gt;GUEST&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8.5pt; COLOR: blue; FONT-FAMILY: 'Verdana','sans-serif'"&gt; within any database other than &lt;B&gt;master&lt;/B&gt; or &lt;B&gt;tempdb&lt;/B&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/aa905195(SQL.80).aspx"&gt;&lt;FONT face=Calibri size=3&gt;http://msdn2.microsoft.com/en-us/library/aa905195(SQL.80).aspx&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/ms190928.aspx"&gt;&lt;FONT face=Calibri size=3&gt;http://msdn2.microsoft.com/en-us/library/ms190928.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=1760344" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/vipulshah/archive/tags/Guest+User+in+SQL+Server/default.aspx">Guest User in SQL Server</category></item></channel></rss>