security - 根据德国 BSI 的说法,Plone 不使用安全 cookie OOTB。我该如何改变这一点?

标签 security plone

BSI 发布了各种 CMS 系统的安全分析。 Plone 非常成功,但在 OOTB 安全功能方面得到了负面评价。

即,默认情况下没有 HTTPS,也没有用于身份验证 OOTB 的安全 cookie。 我怎样才能更改为安全cookie。

最佳答案

是的,可以做到:

Given the prerequisite of using Plone over HTTPS, the following extra settings can be used for the cookie: 'HttpOnly' and 'Secure'. The easiest method to do this with the least impact is using the Apache mod_headers module, with the 'edit' action (available from Apache 2.2.4):

Header edit Set-Cookie ^(.*)$ $1;Secure;HttpOnly

(来源:http://plone.org/documentation/kb/securing-plone)

关于security - 根据德国 BSI 的说法,Plone 不使用安全 cookie OOTB。我该如何改变这一点?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17193366/

相关文章:

php - 如何确定访问者的ip?

security - 了解CSRF

plone - 将 Plone 3.3.6 升级到 Plone 4.3.7 或 Plone 5(错误 : 'tuple' object has no attribute 'remove' )

plone4 中的 JQuery 图像

plone - LinguaPlone - 仅链接到可用的翻译

security - Salesforce "View All"对详细信息对象的权限,由于主从关系,它会提供对主对象的所有查看吗?

c# - 验证您的网站

.net:在一个应用程序中加密字符串以便只能由另一个应用程序读取的最佳实践是什么?

plone - 如何使用 plone.formwidget.multifile 访问上传的文件

plone - 移动 Plone 页面导致 "a different document with value already exists in the index"错误