
.htaccess is a configuration file that is used on internet servers running the Apache internet Server software package. Many HTTP methods are available on a web server like “GET”, “POST”, “OPTIONS” and many more. All these methods have a purpose and pose a risk in using any of these headers. The
Example
The code shows the example of
<Limit OPTIONS GET> </Limit>//This tag limits the usage of OPTIONS and GET.
<LimitExcept GET POST> </LimitExcept> //This tag only allows GET and POST.
Impact
If
Mitigation / Precaution
Beagle recommends the following impacts:-
- Use a whitelist approach to permit HTTP methods. The
tag is the best choice for implementing whitelisting approach.
<LimitExcept GET POST>
</LimitExcept>
The above tag will block every other tag other than “GET” and “POST”.





