How to Improve Your Website's Security
Many people can overlook the issue of security because they think that hackers have no reason to target them or their site. While many hackers actively target firms, companies and government agencies, there are many amateur hackers who have a more random approach to attacking websites. Hacking a website can be carried out for fun, to try new ideas, to link sites together or to carry out a trial run before committing more serious hacking offences. All of these reasons should be enough for people to realise that if they own a website, they could be at risk and the cost and effort of repairing a hacked website is much higher than protecting a website, so the prevention is easier than the cure.
Blocking this can be a simple process by placing a code into your .htaccess file which will block the libwww-perl agents from gaining access to the site.
RewriteCond % {HTTP_USER_AGENT} libwww [NC,OR]
RewriteCond % {QUERY_STRING} ^(.*)=http [NC]
RewriteRule ^(.*)$ – [F,L]
As well as blocking the access for these agents, you will benefit from blocking the directory browsing that is located on your site.
|