开发者

Allow access to folder in IIS website when using Windows Authentication

开发者 https://www.devze.com 2023-03-03 22:07 出处:网络
I have an IIS7.5 intranet website which I have secured using Windows Authentication. I want to allow access to a file in a sub-folder of the website without prompting for Windows credentials.

I have an IIS7.5 intranet website which I have secured using Windows Authentication.

I want to allow access to a file in a sub-folder of the website without prompting for Windows credentials.

My web.config is sho开发者_Go百科wn below. When I browse to http://myserver:9876/SomeFolder/test.html I am still prompted for Windows credentials :

Allow access to folder in IIS website when using Windows Authentication


I found a work around for the problem, which I thought wasn't possible due to wcf. I just changed the authentication scheme to 'Anonymous' on "SomeFolder" and it works.

I haven't answered my question, so it still would be interesting to know if my original approach was possible.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号