Re: Win2000 cannot password protect .asp page

From: Desmond Lam (deslam_at_online.microsoft.com)
Date: 10/17/03

  • Next message: Stephen L Nicoud: "Re: Authentication by IIS (completed quesn)"
    Date: Fri, 17 Oct 2003 11:42:13 +0800
    
    

    Assumption: Both the html and asp file is in the same directory

    I am not too sure what is in the asp file you've tested with the error, try
    putting a simple <% response.write "hello world" %> into a new asp file and
    see if you still encounter the password prompt.

    cheers!

    "Bryan O'Malley" <bryan@N-O-S-P-A-M.chameleon-systems.com> wrote in message
    news:Jiyjb.26481$Sc7.20598@twister.nyroc.rr.com...
    > I am having the exact same problem as described below. I've followed the
    > many instructions on the web for how to password protect a web site or
    > directory. They work fine if you're trying to access .html pages. When
    you
    > try to access a .asp page, however, you get three password boxes then a
    > 401.3 error.
    >
    > I don't get it. Why does the security work for .html files and not .asp?
    > What am I missing?
    >
    > Bryan
    >
    >
    >
    > --------------------------------------------------------------------------

    --
    > -------------
    > From: erwin (erwin912@yahoo.com)
    > Subject: Win2000 cannot password protect .asp page
    > Newsgroups: microsoft.public.inetserver.iis.activeserverpages
    > Date: 2002-05-31 21:59:04 PST
    >
    >
    > I am running a win2000 server and I modify user permission to a
    > directory to password protect that directory for the IIS.
    >
    >
    > The directory is password protect, but only the .html page works.
    >
    > If I try to call .asp pages, it'll prompt me for the user login again
    > and again.
    >
    > But if I call .html pages that are in that directory, it'll accept my
    > user login and password just fine.
    >
    > Can anyone please help?
    >
    >
    

  • Next message: Stephen L Nicoud: "Re: Authentication by IIS (completed quesn)"

    Relevant Pages

    • Re: HTML Code
      ... this is not a job that HTML does.... ... "Kevin Spencer" wrote in message ... >> You don't password protect a page, you password protect a folder or ... >> It says FrontPage 2000 but it applies to all versions. ...
      (microsoft.public.frontpage.programming)
    • IIS 6.0 caching pages and unable to refresh page on workstation
      ... Just trying to find out why when I make a change to a html / asp file, ... page doesn't get refreshed when I press F5 or CTRL-F5. ... I tried using the internal server name and the public domain name to see if ... It's just a simple html page with no code in it. ...
      (microsoft.public.inetserver.iis)
    • Re: ASPX not working - ASP ok
      ... HTML code only? ... The webserver will only send HTML to the client, ... it is probably either because IIS ... > I had trouble getting simple ASP file to run but solved ...
      (microsoft.public.inetserver.iis)
    • Re: ASPX not working - ASP ok
      ... HTML code only? ... >Do you also see server side code? ... >Kristofer Gafvert - IIS MVP ... >> I had trouble getting simple ASP file to run but solved ...
      (microsoft.public.inetserver.iis)
    • Re: IIS 5.1 do only read ordinary HTML
      ... Two tests to see if your HTTP server is working: ... Make a simple asp file such as: ... > I'm a Novice running IIS, XP pro, and Dreamweawer. ... > ASP.NET the IIS do only read HTML from the script, ...
      (microsoft.public.inetserver.iis)