ishannz/secure-elemental-userforms
Composer 安装命令:
composer require ishannz/secure-elemental-userforms
包简介
Adds a secure usersforms
README 文档
README
Introduction
This module integrates with dnadesign/silverstripe-elemental-userforms and silverstripe/silverstripe-userforms. This feature enables secure storage of submitted data in the database. By default, all form data is securely stored in the database. However, you can choose to disable this feature in the configuration tab and save the data as plain text instead.
Requirements
- SilverStripe 4.x
Installation
composer require ishannz/secure-elemental-userforms
Once installed, you need to generate an encryption key that will be used to encrypt all data.
- Generate a hex key with
vendor/bin/generate-defuse-key(tool supplied bydefuse/php-encryption). This will output a ASCII-safe key that starts withdef. - Set this key as the environment variable
ENCRYPT_AT_REST_KEY.
For development environments you can set this in your .env e.g:
ENCRYPT_AT_REST_KEY="{generated defuse key}"
For more information view SilverStripe Environment Management.
Usage
Refer the following link https://github.com/madmatt/silverstripe-encrypt-at-rest/blob/master/README.md#usage
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2023-12-11