Archive for June, 2006
Anti-Leach with .htaccess
Anti-Leach tutorial.
If you need to prevent people from linking to your image from other web sites this can be accomplished in apache via a .htaccess file.
Leachers will just get a “X” instead of an image.
RewriteEngine
OnRewriteCond %{HTTP_REFERER} !^http://www.yoursite.com [NC]
RewriteCond %{HTTP_REFERER} !^http://yoursite.com [NC]
RewriteRule [^/]+.(gif|jpg)$ - [F]
Note: The first line is only necessary if this is not […]
Posted: June 8th, 2006 under Linux, Firewalls and Security.
Comments: none
Extended atributes on linux filesystem
What are ext2 attributes?
The Linux ext2 filesystem has supported extra flags or ‘attributes’ for files and directories in all Linux kernels since the 1.1 development series. The ext2 filesystem driver in the 2.2 and 2.4 kernel series permits setting and querying the following attributes:
A - Atime The system should not update the atime or ‘access […]
Posted: June 8th, 2006 under Linux.
Comments: none