dnadesign/silverstripe-idlelock 问题修复 & 功能扩展

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

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

dnadesign/silverstripe-idlelock

最新稳定版本:1.1.0

Composer 安装命令:

composer require dnadesign/silverstripe-idlelock

包简介

Idle accounts are the security vulnerability's gateway

README 文档

README

Safeguard your SilverStripe site by automatically locking idle member accounts.

The default threshold can be configured, and may be specified per security group.

A Locked User report is included.

Requirements

  • SilverStripe ^4.13 || ^5.1

Installation

composer require dnadesign/silverstripe-idlelock

Configuration

To automatically lock idle member accounts, set up a cron to run the LockMembersTask task at your desired frequency.

To set a global default lockout threshold, set the config in your project:

SilverStripe\Security\Member:
  lockout_threshold_days: 30

To allow users to be exempt from lockout, controlled by a checkbox on the member profile or a security group, set the config in your project:

SilverStripe\Security\Member:
  lockout_exempt: true

SilverStripe\Security\Group:
  lockout_exempt: true

To update the default message shown to locked out users at the login screen, use the LockoutMessage field in the CMS > Settings > Access tab

Usage

Once the cron is set, unless exempt, member accounts will automatically lock if they don't log in for a period longer than the lockout threshold.

Locked users will see a message on the login screen indicating why they can't log in.

To unlock the user, an admin must view the Member record in the CMS and uncheck the 'Locked' checkbox.

To set a custom lockout threshold for members of a group, update the LockoutThresholdDays field for that Group in the security admin.

  • If the user is a member of multiple groups, the lowest threshold will apply.
  • The group threshold cannot be used to increase the threshold beyond the global default.

Use the LockoutExempt field on a Member or a Group to excuse the member or members of the group from the lockout feature.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2024-01-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固