Main menu:

Site search



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} !^ [NC] RewriteCond %{HTTP_REFERER} !^ [NC] RewriteRule [^/]+.(gif|jpg)$ – [F] Note: The first line is [...]

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: