Support

Admin Tools

#21756 stop access via referral website

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by tampe125 on Monday, 29 December 2014 04:51 CST

siflaar
Hello,
This not a problem of something gone wrong, more a option I would like to add to the software.
I like the Admin Tools a lot and it has helped me more than ones to keep my site save.
I have noticed lately that some of my site 'attackers' were coming via the same site. I can see this in my analytics program as 'referral websites'. One of these sites is 'http://buttons-for-website.com'. It seems that there is a website that uses buttons from this website to guide 'attackers' to 'vulnerable' websites.

Is it possible to add an option in the WAF to add referral websites so that if someone is going to my site via this referral website he/she is blocked?

Thanks for your support and I wish you all a fantastic 2015.
Patrick Schouten

 Greetings, Patrick Schouten

tampe125
Akeeba Staff
Hello Patrick,

you can add a custom rule inside your htaccess file to block visitors coming form a specific website, however most likely it won't work.
The htaccess rule will check the HTTP header; such header could be easily spoofed of changed, so it's not very reliable.
However, if you want you can add this rule:
RewriteCond %{HTTP_REFERER} otherdomain\.com [NC,OR]
RewriteCond %{HTTP_REFERER} anotherdomain\.com
RewriteRule .* - [F] 

It could work, but I can't guarantee for it.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!