User Tools

Site Tools


indexes:digest_authentication

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: 02/12/2018 21:34 by 127.0.0.1