定制 opencontent/ezuserformtoken-ls 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

opencontent/ezuserformtoken-ls

Composer 安装命令:

composer require opencontent/ezuserformtoken-ls

包简介

Opencontent eZ Publish Legacy User Form Token extension

README 文档

README

This extension aims to stop CSRF attacks against eZ Publish implementing the easiest remediation described in detectify.

It works like the official extension eZ Form Token adding input & output filter events, which verify that POST requests have an input matching with a generated custom cookie. The difference with eZ Form Token is that the verification is done on requests made by the anonymous user.

This is all done transparently for html/xhtml forms, but requires changes to all ajax POST code. If the form token does not verify, an exception is currently thrown and an error 500 is send to the HTTP client.

It is possible to configure modules to be protected and the cookie parameter in the new configuration block [UserFormToken] in site.ini (see defaults in settings/site.ini.append.php file of this extension)

See also: How to protect against login CSRF? in stackexchange

统计信息

  • 总下载量: 5.43k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 7
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2019-06-24