Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> perl >> libplack-middleware-csrfblock-perl
etiona  ] [  nabia  ] [  aramo  ]

软件包: libplack-middleware-csrfblock-perl (0.10-2)

Plack middleware to block CSRF (cross-site request forgery)

Plack::Middleware::CSRFBlock helps blocking Cross-Site Request Forgeries, and can be used without any modifications to your application, in most cases.

When the application response Content-type header is "text/html" or "application/xhtml+xml", this middleware inserts a hidden input tag that contains a token string into all POST-forms found in the response body.

For every POST requests, this middleware ensures that the input parameters contain the correct token parameter. If not found, the middleware throws an HTTP error 403 (Forbidden) and the forged request does not even reach your application.

其他与 libplack-middleware-csrfblock-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议

下载 libplack-middleware-csrfblock-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 12.5 kB39 kB [文件列表]