View Single Post
  #55  
Old 08-20-2008, 08:19 AM
 
timbrrr timbrrr is offline
 

eXpert
  
Join Date: Feb 2006
Posts: 277
 

Default Re: [PATCH] Blocking those pesky hackers

Did some more research on this and found the following suggestion over at worldpress forums...

would this be a good solution that they mention putting in the .htaccess file?
PLEASE DO NOT USE THIS unless you know what you are doing. I am only posting it here to get some feedback from the programming guru's.


RewriteCond %{QUERY_STRING} ^(.+)declare(.+)$ [NC]
RewriteRule ^.* - [F,L]


Testing, it throws you into a 403 Forbidden page, would a redirect work better ?

Comments on this please.
Thanks
__________________
X-Cart Gold 4.6.3
Codero dedicated server
Reply With Quote