User Tools

Site Tools


howtos:digest_authentication
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
howtos:digest_authentication [02/12/2018 21:34] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +By inserting this to your virtual host you can protect it with a username and password:
  
 +<file>
 +<Location />
 +         AuthName "ProFTPd Administrator"
 +         AuthType Digest
 +         AuthDigestDomain /
 +         AuthDigestProvider file
 +         AuthUserFile /etc/digest_pw
 +         Require valid-user
 +</Location>
 +</file>
 +
 +Now you just need to provision a digest password file. This example will add the user admin to the realm "ProFTPd Administrator":
 +
 +<code>
 +htdigest /etc/digest_pw "ProFTPd Administrator" admin
 +Adding user admin in realm ProFTPd Administrator
 +New password: 
 +Re-type new password:
 +</code>
 +
 +That's it!
howtos/digest_authentication.txt · Last modified: 02/12/2018 21:34 by 127.0.0.1