启用了不安全的HTTP方法
| ??PUT? | ??向指定的目錄上載文件 |
| ??DELETE | ??刪除指定的資源 |
| ??COPY | ??將指定的資源復(fù)制到Destination消息頭指定的位置 |
| ??MOVE | ??將指定的資源移動到Destination消息頭指定的位置 |
| ??SEARCH | ??在一個目錄路徑中搜索資源 |
| ??PROPFIND | ??獲取與指定資源有關(guān)的信息,如作者、大小與內(nèi)容類型 |
| ??TRACE | ??在響應(yīng)中返回服務(wù)器收到的原始請求 |
curl?-v?-X OPTIONS http://www.example.com/test/
curl?-v?-T test.html ?http://www.example.com/test/test.html
curl?-X DELETE http://www.example.com/test/test2.html
<security-constraint>
<web-resource-collection>
<web-resource-name>fortune</web-resource-name>
<url-pattern>/*</url-pattern>
<http-method>PUT</http-method>
<http-method>DELETE</http-method>
<http-method>HEAD</http-method>
<http-method>OPTIONS</http-method>
<http-method>TRACE</http-method>
</web-resource-collection>
<auth-constraint></auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
總結(jié)
以上是生活随笔為你收集整理的启用了不安全的HTTP方法的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: C# HttpWebRequest GE
- 下一篇: 腾讯手游如何提早揭露游戏外挂风险?