User Tools

Site Tools


howtos:digest_authentication

Differences

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

Link to this comparison view

howtos:digest_authentication [d/m/Y H:i] (current)
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: d/m/Y H:i (external edit)