heimrichhannot/contao-csp-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

heimrichhannot/contao-csp-bundle

最新稳定版本:0.1.1

Composer 安装命令:

composer require heimrichhannot/contao-csp-bundle

包简介

A Content Security Policy (CSP) bundle to Contao 4.

README 文档

README

This bundle backports parts of the Content Security Policy (CSP) implementation of Contao 5.3 to Contao 4.13.

This bundle has no handling for inline scripts and styles. You need to add 'unsafe-inline' to your directives.

Page settings

Upgrade to contao 5

This bundle is just a backport. You can seamlessly upgrade to Contao 5.3 without touching your CSP configuration (you need to uninstall this bundle before upgrading). Afterwards you can also remove the 'unsafe-inline' directive from your CSP configuration as contao 5.3 has support for handling inline scripts and styles for csp.

Installation

Install the bundle via composer or contao manager and update the database afterwards.

composer require heimrichhannot/contao-csp-bundle

Configuration

Go to the root page settings. There you find an option to enable CSP. If you enable it, you can configure the CSP directives.

Read more

Offical documentation
Pull request

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2024-09-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固