Accessing a password protected page

Discussion in 'ASP.NET / ASP.NET Core' started by Bruce, Aug 25, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Bruce

    Bruce DiscountASP.NET Staff

    You can do that with ASP.net very easily by using Form authentication

    See http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=70



    quote:Originally posted by kos29

    Hello,

    I would like to programmatically access one of the password protected pages on my website, similar to how the scheduled task tool works in the DASP control panel.

    Anybody have any ideas on how to do this?

    Any help would be GREATLY appreciated!

    Thanks!

    </blockquote id="quote"></font id="quote">

    B.

    DiscountASP.NET
    http://www.DiscountASP.NET
     
  2. Hi Bruce,

    Thanks for the reply but I dont think I explained my problem clear enough as Forms Authentication will not solve this since I need to access an account I created through the DASP control panel. I'm assuming this is an NT account, right? So it would be more along the lines of some sort of NT authentication mechanism.

    Let's look at the problem this way, imagine I want to leave my DASP web statistics page password protected but for whatever reason i want a link on my ("un-password-protected") home page to be able to access the mydomain.com/stats directory. I want the user to be re-directed there without having to enter the webstatistics credentials.

    Obviously this is a silly example because I could just as easily remove the password protection in the control panel, but there is actually some need for this with what I am trying to develop.

    Thanks again,




    quote:Originally posted by bruce

    You can do that with ASP.net very easily by using Form authentication

    See http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=70



    quote:Originally posted by kos29

    Hello,

    I would like to programmatically access one of the password protected pages on my website, similar to how the scheduled task tool works in the DASP control panel.

    Anybody have any ideas on how to do this?

    Any help would be GREATLY appreciated!

    Thanks!

    </blockquote id="quote"></font id="quote">

    B.

    DiscountASP.NET
    http://www.DiscountASP.NET

    </blockquote id="quote"></font id="quote">
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    I do not think you can do that as the password protection is handled by IIS.




    quote:Originally posted by kos29

    Hi Bruce,

    Thanks for the reply but I dont think I explained my problem clear enough as Forms Authentication will not solve this since I need to access an account I created through the DASP control panel. I'm assuming this is an NT account, right? So it would be more along the lines of some sort of NT authentication mechanism.

    Let's look at the problem this way, imagine I want to leave my DASP web statistics page password protected but for whatever reason i want a link on my ("un-password-protected") home page to be able to access the mydomain.com/stats directory. I want the user to be re-directed there without having to enter the webstatistics credentials.

    Obviously this is a silly example because I could just as easily remove the password protection in the control panel, but there is actually some need for this with what I am trying to develop.

    Thanks again,




    quote:Originally posted by bruce

    You can do that with ASP.net very easily by using Form authentication

    See http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=70



    quote:Originally posted by kos29

    Hello,

    I would like to programmatically access one of the password protected pages on my website, similar to how the scheduled task tool works in the DASP control panel.

    Anybody have any ideas on how to do this?

    Any help would be GREATLY appreciated!

    Thanks!

    </blockquote id="quote"></font id="quote">

    B.

    DiscountASP.NET
    http://www.DiscountASP.NET

    </blockquote id="quote"></font id="quote">
    </blockquote id="quote"></font id="quote">

    B.

    DiscountASP.NET
    http://www.DiscountASP.NET
     
  4. Hello,

    I would like to programmatically access one of the password protected pages on my website, similar to how the scheduled task tool works in the DASP control panel.

    Anybody have any ideas on how to do this?

    Any help would be GREATLY appreciated!

    Thanks!
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page