<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>ASP Free Forums - Microsoft IIS</title>
		<link>http://forums.aspfree.com/</link>
		<description>Microsoft IIS forum discussing Internet Information Server general usage, including configuration and server set up. Get the most out of the most popular web server for Windows.</description>
		<language>en</language>
		<lastBuildDate>Mon, 20 May 2013 19:28:13 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://forums.aspfree.com/images/misc/rss.png</url>
			<title>ASP Free Forums - Microsoft IIS</title>
			<link>http://forums.aspfree.com/</link>
		</image>
		<item>
			<title>IIS 7.5 Windows Authentication fails unless the code files are shared to end users</title>
			<link>http://forums.aspfree.com/microsoft-iis-12/iis-7-5-windows-authentication-fails-unless-code-files-shared-end-users-538449.html</link>
			<pubDate>Tue, 30 Apr 2013 06:04:58 GMT</pubDate>
			<description><![CDATA[Hi All, 
 
I’m setting up a simple Classic ASP application, to read the user login using Windows Authentication, in IIS 7.5 on a Windows 2008 R2 Server. 
(The application is just one file and has this line - response.write(Request.ServerVariables("LOGON_USER")) ) 
 
But I’m unable to read the...]]></description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
I’m setting up a simple Classic ASP application, to read the user login using Windows Authentication, in IIS 7.5 on a Windows 2008 R2 Server.<br />
(The application is just one file and has this line - response.write(Request.ServerVariables(&quot;LOGON_USER  &quot;)) )<br />
<br />
But I’m unable to read the user’s login information unless the code files (application directory) are given Read &amp; Execution permissions to the specific person or ‘Everyone’.<br />
If I remove ‘Everyone’ or the end user’s Id, I’m prompted to a login pop-up which subsequently takes me to the 401 - Unauthorized error.<br />
<br />
I’ve the following settings applied in the IIS…<br />
<br />
<ol class="decimal"><li style="">Set the Application Pool’s identity to ‘ApplicationPoolIdentity’</li><li style="">Enabled Windows Authentication and disabled all other Authentications.</li><li style="">Moved ‘NTLM’ to top on the Providers under Windows Authentication.</li><li style="">Set the Impersonate User to False in CGI</li><li style="">Added ‘IIS AppPool\DefaultAppPool’ to the Security properties of the application directory.</li></ol><br />
<br />
<br />
I’m confused why IIS 7.5 web applications with Windows Authentication needs end users or ‘Everyone’ to have read access to the code files.<br />
<br />
Please suggest your views to resolve this problem and help me run this application without the folders being shared with the end users.<br />
<br />
Thanks in advance,<br />
Ashok</div>

]]></content:encoded>
			<category domain="http://forums.aspfree.com/microsoft-iis-12/">Microsoft IIS</category>
			<dc:creator>ashok_tak</dc:creator>
			<guid isPermaLink="true">http://forums.aspfree.com/microsoft-iis-12/iis-7-5-windows-authentication-fails-unless-code-files-shared-end-users-538449.html</guid>
		</item>
	</channel>
</rss>
