Air-Craft/air-craft-www/master/wp-content/uploads/db-backup/.htaccess - Htaccess File

Air-Craft/air-craft-www/master/wp-content/uploads/db-backup/.htaccess

#These next two lines will already exist in your .htaccess file
 RewriteEngine On
 RewriteBase /
 # Add these lines right after the preceding two
 RewriteCond %{REQUEST_FILENAME} ^.*(.zip)$
 RewriteCond %{HTTP_COOKIE} !^.*can_download.*$ [NC]
 RewriteRule . - [R=403,L]

On Github License

Files

Download PDF of Htaccess file
HTTP_COOKIE, REQUEST_FILENAME

Comments

Apache