Solved

Allow anonymous access to a particular folder in a ASP.NET application

Posted on 2011-09-15
2
317 Views
Last Modified: 2012-05-12
I have a ASP.NET web application that makes use of Windows Authentication.  However, I have a particular folder that I need for anyone to be able to call ( anonymous )  The application is running on Windows 2008 Server.  I have Set the authentication  of the folder were the web service resides to anonymous, yet I still get prompted for my windows credentials.  If I hit cancel ( not providing anything ) the web service still works as expected.  I need for a linux system to be able to access the web service.
0
Comment
Question by:mddohm
  • 2
2 Comments
 
LVL 14

Assisted Solution

by:abhitrig
abhitrig earned 500 total points
Comment Utility
Try adding a separate web.config inside your anonymous folder and add the below:
<configuration>
   <system.web>
      <authorization>
        <allow users="*"/> //Allow everyone
      </authorization>
   </system.web>
</configuration>
0
 
LVL 14

Accepted Solution

by:
abhitrig earned 500 total points
Comment Utility
And if you don't want to create separate web.config, another option would be to set the "location" tag for your anonymous folder. This should help: http://weblogs.asp.net/gurusarkar/archive/2008/09/29/setting-authorization-rules-for-a-particular-page-or-folder-in-web-config.aspx
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
call function 8 40
How to trouble shoot .net contact form 3 30
401 - Error 6 25
(code works) but print excel in Landscape 5 49
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now