<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/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/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag 'authentication'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=authentication&amp;orTags=0</link><description>Search results matching tag 'authentication'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>IIS virtual directory not inheriting forms auth - something I am doing wrong?</title><link>http://forums.iis.net/p/1163094/1926696.aspx#1926696</link><pubDate>Tue, 01 Dec 2009 16:28:44 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1926696</guid><dc:creator>Maxer_Ars</dc:creator><cs:applicationKey>aspnet_administration--1</cs:applicationKey><description>&lt;p&gt;We have our IIS 6 server on Win Server 2003.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Our setup is: IIS -&amp;gt; Web Sites -&amp;gt; Default Web Site-&amp;gt; Our Portal -&amp;gt; MySite&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &amp;quot;MySite&amp;quot; is a separate project in VS 08 that was added as a virtual directory.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The problem we are having is that our portal site uses forms authentication, but the &amp;quot;MySite&amp;quot; does not seem to inherit this properly.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t have anything in MySite&amp;#39;s web.config about authentication, leaving that all commented out hoping it would inherit.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are there some common things to check to resolve this?&lt;/p&gt;</description></item><item><title>WebDAV Security</title><link>http://forums.iis.net/p/1162982/1926261.aspx#1926261</link><pubDate>Thu, 26 Nov 2009 08:28:15 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1926261</guid><dc:creator>jock_sbfc</dc:creator><cs:applicationKey>iis7_-_security--1</cs:applicationKey><description>&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;Forgive me - I&amp;#39;m by no means an IIS expert all, so hopefully I&amp;#39;ll provide all the details - if not please ask.&lt;/p&gt;&lt;p&gt;I&amp;#39;m attempting to setting up a WebDAV to a share, and all is working fine. My user account has permissions to get to that share, and provided I specify my account in the Basic Settings-&amp;gt;Connect As-&amp;gt;Specific User then all appears to work fine.&lt;/p&gt;&lt;p&gt;However, what I&amp;#39;d like is to be able to use the account of the user currently logged in (either via Windows Authentication, or via a challenge - either would do). Whenever I change the Connect As settings to &amp;#39;Application User (pass-through authentication&amp;#39;) I get a pop-up dialog box from IE8 saying &amp;#39;Windows cannot find &amp;#39;\\server\directory&amp;#39;. Please check and try again&amp;#39;.&lt;/p&gt;&lt;p&gt;Am I missing something simple - I seem to have gone through as many of the authentication and authorisation settings as I can see...&lt;/p&gt;&lt;p&gt;Appreciated any help,&lt;/p&gt;&lt;p&gt;Greg &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Windows Integrated Authentication Through ARR</title><link>http://forums.iis.net/p/1162690/1924971.aspx#1924971</link><pubDate>Mon, 16 Nov 2009 20:59:26 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1924971</guid><dc:creator>deshazer</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;I have a basic load balancing scenario using ARR with two server farms defined.&amp;nbsp; The ARR host, its default virtual web site and the server farm members (separate hardware) are all setup with Windows Integrated Authentication enabled and anonymous disabled.&amp;nbsp; Each element works independently but when a route a request through ARR to the server farm, it appears I lose my identity and receive a 401 from the downstream hosts. The ARR host computer object has been set to allow trusted delegation and the HTTP service class SPN set on it as well.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Anyone sucessfully setup ARR with Windows Integrated Authentication ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Need help with IIS7/SQL2008 std connector</title><link>http://forums.iis.net/p/1162686/1924958.aspx#1924958</link><pubDate>Mon, 16 Nov 2009 19:31:10 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1924958</guid><dc:creator>Kevin510</dc:creator><cs:applicationKey>iis7_-_general--1</cs:applicationKey><description>&lt;p&gt;I&amp;#39;ve got a windows 2008 standard server with SQL 2008 standard and IIS7
installed.&amp;nbsp; The web app we have made reads from the database fine but
it won&amp;#39;t write to the database.&amp;nbsp; For example when I click the join
button and fill out the new user page, the data doesn&amp;#39;t get written to
the &amp;#39;user&amp;#39; table.&amp;nbsp; However I can write to the database by using a
script we wrote to generate a user within the sql server manager so i
know the database can be written to logged in as the same credentials
used for the database connection specified in the web.config file.&lt;br /&gt; &lt;br /&gt;
I should also add that SQL is NOT running in mixed mode, we&amp;#39;d prefer
not to have to run it in mixed mode for the production environment.&amp;nbsp;
Also sql is setup to do windows authentication.&amp;nbsp; The app works fine in
a dev environment using iis7 and sql 2008 express so I know it&amp;#39;s not an
app design issue, it&amp;#39;s got to be a configuration problem.&lt;br /&gt; &lt;br /&gt; I am using impersonate in the web.config file and have logged in as that user and confirmed i can directly write to the database in the database manager.&amp;nbsp; The account also has db reader/writer access, so i double checked that.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;m looking for some other ideas because i&amp;#39;m stumped at the moment.&amp;nbsp; I&amp;#39;m also new to iis7/sql2008 web deployments so&amp;nbsp; I don&amp;#39;t have a lot of back history to draw on for a solution.&amp;nbsp; Hopefully someone here can help?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Authentication breaks</title><link>http://forums.iis.net/p/1162668/1924890.aspx#1924890</link><pubDate>Mon, 16 Nov 2009 10:09:40 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1924890</guid><dc:creator>jakb</dc:creator><cs:applicationKey>iis7_-_security--1</cs:applicationKey><description>&lt;p&gt;My&amp;nbsp;framework 4 asp.net app using forms authentication runs fine in Cassini and in IIS7.5 on the local box but on a public facing box with IIS7.5 in the DMZ (running cookieless session state) the authentication breaks without returning any error - the forms authentication simply does not work.&lt;/p&gt;
&lt;p&gt;I have&amp;nbsp;modified the register.aspx.cs entry to accept the cookieless state thus without effect:&lt;/p&gt;&lt;font color="#2b91af" size="2" face="Consolas"&gt;&lt;font color="#2b91af" size="2" face="Consolas"&gt;&lt;font color="#2b91af" size="2" face="Consolas"&gt;
&lt;p&gt;FormsAuthentication&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" face="Consolas"&gt;&lt;font size="2" face="Consolas"&gt;.SetAuthCookie(RegisterUser.UserName, &lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2" face="Consolas"&gt;&lt;font color="#0000ff" size="2" face="Consolas"&gt;&lt;font color="#0000ff" size="2" face="Consolas"&gt;true&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" face="Consolas"&gt;&lt;font size="2" face="Consolas"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2" face="Consolas"&gt;&lt;font size="2" face="Consolas"&gt;Can anyone advise why the login is failing?&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Directory Enumeration possible on Web Server</title><link>http://forums.iis.net/p/1162488/1924017.aspx#1924017</link><pubDate>Tue, 10 Nov 2009 06:22:54 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1924017</guid><dc:creator>sunitha4ever</dc:creator><cs:applicationKey>iis7_-_security--1</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;My web application runs on Windows Server 2008 and IIS 7. During penetration testing, we found that it was possible to determine the existence of directories within the web root on the system through messages returned by the access control code. This could enable an attacker to target particluar areas of functionality that they otherwise may not be aware of.&lt;/p&gt;
&lt;p&gt;Eg: 1. Directory : /includes/ - Return Code: 403 ; Conclusion:-&amp;nbsp;Forbidden. This directory exists but access has not been granted.&lt;/p&gt;
&lt;p&gt;2. Directory : /Views/ - Return Code: 403 ; Conclusion:-&amp;nbsp;Forbidden. This directory exists but access has not been granted although access is granted to subdirectoires for example /Views/xyz/abc.aspx&lt;/p&gt;
&lt;p&gt;3. Directory : /mwr/ - Return Code: 404 ; Conclusion:-&amp;nbsp;Not Found. This directory does not exist in the web root&lt;/p&gt;
&lt;p&gt;Could you please help me to prevent this enumeration of directories such that a&amp;nbsp;resource that the current user does not have access to should yield an identical message to the one displayed if that resource does not exist.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>ApplicationPoolIdentity + SQL</title><link>http://forums.iis.net/p/1162459/1923907.aspx#1923907</link><pubDate>Mon, 09 Nov 2009 15:01:47 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1923907</guid><dc:creator>foxontherock</dc:creator><cs:applicationKey>iis7_-_security--1</cs:applicationKey><description>This is just to tell everyone that if you want to connect to SQL Server with the ApplicationPoolIdentity login, you can, but you can&amp;#39;t use the user interface of SQL Management Studio.
&lt;br /&gt;&lt;br /&gt;
You can do this only from script (like when you want to give access to this user to NTFS you can&amp;#39;t do it from the explorer security tab).
&lt;br /&gt;&lt;br /&gt;
CREATE LOGIN [IIS APPPOOL\mypool] FROM WINDOWS WITH DEFAULT_DATABASE=[master]
USE [mydatabase]
CREATE USER [IIS APPPOOL\mypool] FOR LOGIN [IIS APPPOOL\mypool]
&lt;br /&gt;&lt;br /&gt;
So you can give the access right directly to this &amp;quot;virtual&amp;quot; user, withoug the need to use the impersonate=true setting in web.config.
&lt;br /&gt;&lt;br /&gt;
We used it with SQL 2005 in Win2008 sp2 (not R2), with IIS 7.0
&lt;br /&gt;&lt;br /&gt;
Hope it may help someone, because I took me a lot of time to find it !

</description></item><item><title>Double authentication: forms + htpasswd?</title><link>http://forums.iis.net/p/1162426/1923784.aspx#1923784</link><pubDate>Sat, 07 Nov 2009 15:42:17 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1923784</guid><dc:creator>Francisco Lozano</dc:creator><cs:applicationKey>iis7_-_security--1</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have an ASP.NET MVC Website which is currently under development, deployed on a W2008r2 IIS7.5 server.&lt;/p&gt;&lt;p&gt;My website uses &amp;quot;forms&amp;quot; authentication and it works perfect.&lt;/p&gt;&lt;p&gt;As the website is under development and not open to the public, I would like to add an additional layer of protection, so that non-authorized users can&amp;#39;t even see the login form.&lt;/p&gt;&lt;p&gt;Is there any way to add something like an htpasswd to my website without messing with the currently-configured forms-based auth stuff? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Authentication Issue</title><link>http://forums.iis.net/p/1162317/1923284.aspx#1923284</link><pubDate>Tue, 03 Nov 2009 21:51:14 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1923284</guid><dc:creator>ujjj008</dc:creator><cs:applicationKey>iis7_-_security--1</cs:applicationKey><description>&lt;p&gt;Is it possible through IIS?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Person A who&amp;#39;s computer is in Domain A logs into a website that is in Domain B.&amp;nbsp; They are prompted to enter in their crendentials to Domain B, which they do and then they are authenticated and able to get in.&amp;nbsp; Then in that the website, there is a link to another website that is in Domain B but on another server.&amp;nbsp; When they click on that link, they are then prompted to put in their credentials for Domain B again.&amp;nbsp; Is there anyway around it so they don&amp;#39;t have to put in their credentials twice?&amp;nbsp; &lt;/p&gt;</description></item><item><title>Protecting static content on IIS7 in Classic Mode</title><link>http://forums.iis.net/p/1162175/1922662.aspx#1922662</link><pubDate>Thu, 29 Oct 2009 15:07:18 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1922662</guid><dc:creator>aures_arrigo</dc:creator><cs:applicationKey>iis7_-_security--1</cs:applicationKey><description>&lt;p&gt;Hi, &lt;/p&gt;&lt;p&gt;I know how to protect my static (HTML) pages in IIS6, and how to do it using the IIS7 Integrated Pipeline, but how can I protect my HTML pages from unauthorised access in IIS7 when running in Classic Mode? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;It&amp;#39;s an ASP.NET site using forms authentication.&lt;/p&gt;&lt;p&gt;Thanks! &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>