Full and Partial Content Blocking VIA htaccess file
Page 1 of 1
Full and Partial Content Blocking VIA htaccess file
First create a .htaccess file
Full Blocking Method (prevents even playing content and direct access)
Another Better Method (better as it allows content to play) Blocks direct access!
- Code:
sudo gedit .htaccess
Full Blocking Method (prevents even playing content and direct access)
- Code:
<Files ~ "\.mp4$">
Order allow,deny
Deny from all
</Files>
Another Better Method (better as it allows content to play) Blocks direct access!
- Code:
RewriteEngine On
RewriteCond %{HTTP_HOST}@@%{HTTP_REFERER} !^([^@]*)@@https?://\1/.*
RewriteRule \.(gif|jpg|jpeg|png|tif|pdf|wav|wmv|wma|avi|mov|mp4|m4v|mp3|zip?)$ - [F]
Similar topics
» Get md5 hash of a file to veryfie file integrity
» Country Blocking By IP
» Fix Your Hosts File
» How to fix samba in linux file missing config file error
» how to browse sites anonamously and download torrents bypassing blocked content easyly!
» Country Blocking By IP
» Fix Your Hosts File
» How to fix samba in linux file missing config file error
» how to browse sites anonamously and download torrents bypassing blocked content easyly!
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum