Solved

How to ignore Authentication for single page

Posted on 2013-10-27
2
39 Views
Last Modified: 2015-09-07
Ignoring the windows authentication for single aspx page in C# asp.net. Whenever i click the link following screen appears.  Kindly please look at the attachment. Is there a way to write the credentials in the code of the page.
Excel.JPG
0
Comment
Question by:mu3tasem
2 Comments
 
LVL 3

Expert Comment

by:netmaster1355
ID: 39603683
you should disable authentication for your file or directory in your web server.
for example in IIS you can do it in properties of file or directory by setting authentication method in Directory Security and set it to anonymous.
0
 
LVL 1

Accepted Solution

by:
Srihari03 earned 500 total points
ID: 39603772
Create a separate folder inside  your webproject and place that single .aspx page inside that folder. Create a web.config file for the folder and give authentication as None. The web.config you just put inside the folder will override master web.config setting for the particular folder so that your authentication for the rest of the pages will not be disturbed.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
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.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

708 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

15 Experts available now in Live!

Get 1:1 Help Now