Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2011-09-15
2
Medium Priority
?
339 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 14

Assisted Solution

by:abhitrig
abhitrig earned 2000 total points
ID: 36549223
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 2000 total points
ID: 36549247
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

722 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