Solved

How to ignore Authentication for single page

Posted on 2013-10-27
2
44 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
[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 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 Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn how to count occurrences of each item in an array.

705 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