# Deny direct access to uploaded files # All downloads must go through download_attachment.php Require all denied Order deny,allow Deny from all # Disable script execution php_flag engine off # Prevent directory listing Options -Indexes # Block common executable extensions Require all denied Order deny,allow Deny from all