Re: http auth logindialog box



Nikos wrote:
Brian Wakem wrote:

You are clearly very confused and your problem is nothing to do with Perl.

I suggest you go to google and look up htaccess and htpasswd.  Also read
http://httpd.apache.org/docs-2.0/howto/htaccess.html, but do not ask
question about it here - it is OT.


ok i have read and made the .htaccess and .passwd files fro http authentication purpsoses

What happens when the user enter the correct data and what happens if he doesnt?

Now i think Perl has to take control.


No.  The webserver has control here.


if credentials are correct then games.pl would run else an error page.


The webserver does this for you if you have configured it correctly (I have pointed you towards the docs).



--
Brian Wakem


.



Relevant Pages

  • Re: http auth logindialog box
    ... I suggest you go to google and look up htaccess and htpasswd. ...
    (comp.lang.perl.misc)
  • Re: Google Sitemaps and Aliasd domains
    ... Got a main domain on a server tippy. ... htaccess to point to a different location (such as a user directory on the ... google to accept the domain exists. ...
    (alt.internet.search-engines)
  • Re: Hiding directory contents from HTTP
    ... >> He could probably use .htaccess and htpasswd if he has shell access to ... not a file that you would ftp up. ... password file where it cannot be accessed by browsers. ...
    (comp.os.linux.security)
  • Re: Reading from the htpasswd file
    ... either Apache has to parse .htpasswd, or PHP has to parse the flat-file where all the passwords are stored. ... Do not actually know how Apache parses the .htpasswd file, but would imagine internally it's roughly similar to how you'd do it in PHP, i.e., ... So, unless you have an SSL connection, or don't care if anyone snoops your credentials, using ..htaccess is not always the best way to log in. ...
    (php.general)
  • Re: webdav security problem
    ... You could probably go for implementing .htaccess and .htpasswd ... only authorized users will only be able to access the ... Information Security Analyst ...
    (Security-Basics)