-
-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #59
- Loading branch information
Showing
3 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# ---------------------------------------------------------------------- | ||
# | Disable TRACE HTTP Method | | ||
# ---------------------------------------------------------------------- | ||
|
||
# Prevent Apache from responding to `TRACE` HTTP request. | ||
# | ||
# The TRACE method, while apparently harmless, can be successfully | ||
# leveraged in some scenarios to steal legitimate users' credentials | ||
# | ||
# Modern browsers now prevent TRACE requests being made via JavaScript, | ||
# however, other ways of sending TRACE requests with browsers have been | ||
# discovered, such as using Java. | ||
# | ||
# (!) The `TraceEnable` directive will only work in the main server | ||
# configuration file, so don't try to enable it in the `.htaccess` file! | ||
# | ||
# https://tools.ietf.org/html/rfc7231#section-4.3.8 | ||
# https://www.owasp.org/index.php/Cross_Site_Tracing | ||
# https://www.owasp.org/index.php/Test_HTTP_Methods_(OTG-CONFIG-006) | ||
# https://httpd.apache.org/docs/current/mod/core.html#traceenable | ||
|
||
TraceEnable Off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters