定制 ishannz/secure-elemental-userforms 二次开发

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

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

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.

  1. Generate a hex key with vendor/bin/generate-defuse-key (tool supplied by defuse/php-encryption). This will output a ASCII-safe key that starts with def.
  2. 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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2023-12-11