Implementing simpe authentication to an existing ASP.Net 1.1 site

Last post 03-13-2007 10:10 PM by imran.nathani. 1 replies.

Sort Posts:

  • Implementing simpe authentication to an existing ASP.Net 1.1 site

    03-13-2007, 8:45 PM
    • Loading...
    • Tyto
    • Joined on 12-15-2005, 1:34 AM
    • Posts 23

    I have an existing ASP.Net 1.1 site that the client now wants me to password-protect. That is, the first time a user goes to a page in the virtual directory it should ask for a password. Typing the wrong password will show an "access denied"-type message, while typing the right password will let the user use the pages as before. One password is good enough for all users, but he wants the ability to change the password.

    I investigated form-based authentication, but it seems this would require adding code to every page in the site. I have over 100 pages, many of them .htm pages. I do not want to edit all these pages, nor to change the .htm pages to .aspx. Also, he wants to prevent users from downloading images from the site until they have typed the password.

    Is there a simple way to implement this without massive rewriting?
     

  • Re: Implementing simpe authentication to an existing ASP.Net 1.1 site

    03-13-2007, 10:10 PM
    Answer
    • Loading...
    • imran.nathani
    • Joined on 04-07-2006, 5:32 AM
    • Toronto,Canada
    • Posts 836
Page 1 of 1 (2 items)
Microsoft Communities
Page view counter