Generate .htaccess and .htpasswd files for directory protection with APR1 encryption
The .htpasswd file should be placed outside the public_html directory for enhanced security. Use absolute paths and ensure the web server cannot directly access this file.