java - HTTP动词篡改解决方案

标签 java web-services

HTTP 动词配置错误: 当我们在 Web 应用程序中实现 GET 和 POST 方法时,您能否建议我采取一些措施来防止 Web 应用程序中的 HTTP 动词篡改。

最佳答案

有一个页面 here由开放 Web 应用程序安全项目维护,用于测试 HTTP 动词篡改。基本上,您使用实用程序使用每种方法(也称为动词)发送请求,并检查请求是否得到安全处理。该页面上的关键点是:

Although each HTTP method can potentially return different results, there is only a single valid result for all methods other than GET and POST. The web server should either ignore the request completely or return an error. Any other response indicates a test failure as the server is responding to methods/verbs that are unnecessary. These methods should be disabled.

关于java - HTTP动词篡改解决方案,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29911751/

相关文章:

web-services - CORS 如何至少为用户提供一些安全性?

java - 计算双数据类型中不需要的部分

java - 如何始终滚动到文本区域的底部?

android - 如何在 Android 中解析另一个 JSON 数组中的 JSON 数组

c# - ASMX 网络服务和 HTTP GET

java - PHP 和 Java 编码问题

java - JAX-WS - 添加 SOAP header

java - Netbeans 中的文件结构

使用导入到 cacerts keystore 的受信任证书运行签名 jar 时出现 Java Web Start 错误

java - 只是想知道我的 ListView 是否将用户引导到每个项目的新屏幕单击