OpenBSD : httpd(8) and authentication with htpasswd

LinaSovereign - 11th October 2016 - OpenBSD /Security /

httpd(8) server of OpenBSD allows you to secure your virtualhosts/directories with a login/password based on the famous Apache htpasswd.

Here is how you can set it up :

This content is limited to logged in users.