Read out .htaccess password

Discussion in 'Perl Misc' started by Bart Van der Donck, Aug 25, 2007.

  1. Hello,

    When browser requests a directory that is secured by .htaccess user/
    pass, I can read out the username in a Perl script with
    $ENV{'REMOTE_USER'}.

    I've been looking for a similar way to know the password.

    Since this password is sent unencrypted from the browser and reaches
    server in plain text, I suppose it must be possible to know it somehow
    in perl ?

    Thanks,

    --
    Bart
     
    Bart Van der Donck, Aug 25, 2007
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stoco

    .htaccess and perl cgi

    Stoco, Jan 12, 2004, in forum: Perl
    Replies:
    0
    Views:
    3,083
    Stoco
    Jan 12, 2004
  2. feng
    Replies:
    4
    Views:
    1,533
  3. Steve

    servlet et .htaccess

    Steve, May 6, 2004, in forum: Java
    Replies:
    1
    Views:
    1,353
    Michael Scovetta
    May 6, 2004
  4. Replies:
    1
    Views:
    672
    Michael Wojcik
    May 28, 2005
  5. Luqman
    Replies:
    5
    Views:
    1,075
  6. AAaron123
    Replies:
    2
    Views:
    2,981
    AAaron123
    Jan 16, 2009
  7. AAaron123
    Replies:
    1
    Views:
    1,637
    Oriane
    Jan 16, 2009
  8. dorayme
    Replies:
    2
    Views:
    602
    dorayme
    Jun 17, 2010
Loading...