<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SQL Server with Mr. Denny &#187; NTFS Permisions</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/sql-server/tag/ntfs-permisions/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/sql-server</link>
	<description></description>
	<lastBuildDate>Mon, 10 Jun 2013 17:25:32 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>What do you mean I can&#8217;t access my own database when trying to attach it?</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/what-do-you-mean-i-cant-access-my-own-database-when-trying-to-attach-it/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/what-do-you-mean-i-cant-access-my-own-database-when-trying-to-attach-it/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 11:02:54 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[Attaching Database]]></category>
		<category><![CDATA[Database security]]></category>
		<category><![CDATA[NTFS Permisions]]></category>
		<category><![CDATA[SecurityFightClub]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/?p=649</guid>
		<description><![CDATA[When you detach a database from Microsoft SQL (I&#8217;m talking SQL Server 2005 and up here) the SQL Server automatically changes the NTFS permissions on the file so that only the user who told the SQL Server to detach the file has access to them.  SQL Server does this to ensure that an unauthorized person [...]]]></description>
				<content:encoded><![CDATA[<p>When you detach a database from Microsoft SQL (I&#8217;m talking SQL Server 2005 and up here) the SQL Server automatically changes the NTFS permissions on the file so that only the user who told the SQL Server to detach the file has access to them.  SQL Server does this to ensure that an unauthorized person isn&#8217;t able to access the data files.<span id="more-649"></span></p>
<p>However the downside to this security measure is that the SQL Server also doesn&#8217;t have access to the files when you try to attach the files back to the server, which will cause SQL Server to throw a permissions error when attaching the database weather using SQL Server Management Studio or T/SQL.  Because of this you&#8217;ll need to edit the NTFS permissions for all the files on the SQL Server and give the SQL Server service full control rights to the database files.</p>
<p>Denny</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/what-do-you-mean-i-cant-access-my-own-database-when-trying-to-attach-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
