Skip to main content
Version: 4.1

Protected Directories

Protected Directories (/websites/protect) puts an HTTP password in front of a directory of one of your websites.

Pick the domain, then the path inside it, and add the users who may open it. A request for anything under that path is challenged before it reaches PHP.

The rule works on every WebEngine this server can run, because it is written by hitechcloudcli protect into the per-site snippet directory the vhost already includes — not into a .htaccess file that only one engine reads.