View Single Post
  #8 (permalink)  
Old 08-29-2008, 01:32 PM
Tech Manager Tech Manager is offline
WebProWorld Pro
 
Join Date: Jan 2008
Posts: 294
Tech Manager RepRank 1
Default Re: Latest Injection Attack: DECLARE, SET and CAST

Quote:
Originally Posted by Webnauts View Post
Would you recommend adding in the .htaccess for example this too?

## DENY REQUEST BASED ON REQUEST METHOD ###
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS|HEAD)$ [NC]
RewriteRule ^.*$ - [F]
Webnauts:

I would suggest blocking those methods unless you have specific reasons for allowing them.

For those unfamiliar with the above choices check out Method Definitions.
__________________
I use Country IP Blocks as added security for my networks and servers.
Reply With Quote