SECURITY - How To Block Some Addresses In Referrers Page »  Show posts from    to     

Icy Phoenix


Documentation And How To - SECURITY - How To Block Some Addresses In Referrers Page



Zuker [ Thu 05 Apr, 2007 15:48 ]
Post subject: SECURITY - How To Block Some Addresses In Referrers Page
OPEN

includes/functions_referrers.php

FIND

Code: [Hide] [Select]
$ref_black_list = array(
'.wst.st',
'.neyon.com',
'.byethost',
'cialis.w48.54.ru',
'.volja.net',
'.siol.net',
'.alice.it',
'xoomer.alice.it',
'.skynet.be',
'users.skynet.be',
);



Add the domain you wish to block... and check if it works.

ex:

Code: [Hide] [Select]
'.1awm.com',


P.S.: another suggestion is to set Referrers Permissions to REGISTERED users or above in ACP => Configuration => Page Permissions.




Powered by Icy Phoenix