![]() |
Cross Linking Avatars
Looking for a working hack for 2.28 that will prevent users from uploading an avatar to my site and then linking to it for another site. it is really annoying.
|
If you have the appache modual mod_rewrite installed then use that to block domians other than yours to use images from your server.
|
will this code block access to avatars as well? do i need to install the save avatar as file hack? does that hack work with 2.28?
thanks for the speddy reply, i have done some searching but have found nothing concrete. directory /www/sites/vbforums.com/htdocs> <files avatar.php> RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://vbforums.com [NC] RewriteCond %{HTTP_REFERER} !^http://www.vbforums.com [NC] RewriteCond %{HTTP_REFERER} !^http://161\.58\.186\.97 [NC] RewriteRule avatar.php [F] </files> <files attachment.php> RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://vbforums.com [NC] RewriteCond %{HTTP_REFERER} !^http://www.vbforums.com [NC] RewriteCond %{HTTP_REFERER} !^http://161\.58\.186\.97 [NC] RewriteRule attachment.php [F] </files> </directory> |
That should block all access from outside your domain's that you list instead of vbforums.com So all attachments and avatars :D
|
All times are GMT. The time now is 05:52 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|