Computer Forums

Computer Forums (http://www.geekboards.com/forums/index.php)
-   Building Websites (http://www.geekboards.com/forums/forumdisplay.php?f=3)
-   -   How to Improve Your Website's Security (http://www.geekboards.com/forums/showthread.php?t=132204)

John23 02-21-2012 12:03 AM

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.

PuneetJvw 03-10-2012 01:26 AM

What is your code supposed to do ?

Also isnt the host supposed to provide for the basic security ?

Thanks.


All times are GMT -5. The time now is 10:16 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
HTML Help provided by HTML Help Central.