By inserting this to your virtual host you can protect it with a username and password:

<Location />
         AuthName "ProFTPd Administrator"
         AuthType Digest
         AuthDigestDomain /
         AuthDigestProvider file
         AuthUserFile /etc/digest_pw
         Require valid-user
</Location>

Now you just need to provision a digest password file. This example will add the user admin to the realm “ProFTPd Administrator”:

htdigest /etc/digest_pw "ProFTPd Administrator" admin
Adding user admin in realm ProFTPd Administrator
New password: 
Re-type new password:

That's it!

 
indexes/digest_authentication.txt · Last modified: 2010/03/21 13:06 by domingo
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki