Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Perl Modules

    Apache::Htpasswd 1.8

    Download button

    No screenshots available
    Downloads: 627  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Kevin Meltzer | More programs
    Perl Artistic License / FREE
    September 26th, 2008, 10:42 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Apache::Htpasswd description

    Manage Unix crypt-style password file.

    Apache::Htpasswd is a Perl module that allows you to manage Unix crypt-style password file.

    SYNOPSIS

     use Apache::Htpasswd;

     $foo = new Apache::Htpasswd("path-to-file");

     $foo = new Apache::Htpasswd({passwdFile => "path-to-file",
     ReadOnly => 1}
     );

     # Add an entry
     $foo->htpasswd("zog", "password");

     # Change a password
     $foo->htpasswd("zog", "new-password", "old-password");

     # Change a password without checking against old password

     $foo->htpasswd("zog", "new-password", {'overwrite' => 1});

     # Check that a password is correct
     $foo->htCheckPassword("zog", "password");

     # Fetch an encrypted password
     $foo->fetchPass("foo");

     # Delete entry
     $foo->htDelete("foo");

     # If something fails, check error
     $foo->error;

     # Write in the extra info field
     $foo->writeInfo("login", "info");

     # Get extra info field for a user
     $foo->fetchInfo("login");


    This module comes with a set of methods to use with htaccess password files. These files (and htaccess) are used to do Basic Authentication on a web server.

    The passwords file is a flat-file with login name and their associated crypted password. You can use this for non-Apache files if you wish, but it was written specifically for .htaccess style files.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    password manager | encrypted passwords | Perl module | Apache | htpasswd | password



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM