dnadesign/silverstripe-idlelock
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.
dnadesign/silverstripe-idlelock 适用场景与选型建议
dnadesign/silverstripe-idlelock 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 156 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 01 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「security」 「cms」 「silverstripe」 「Account management」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 dnadesign/silverstripe-idlelock 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dnadesign/silverstripe-idlelock 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 dnadesign/silverstripe-idlelock 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
GraphQL authentication for your headless Craft CMS applications.
Set Links with a specific language parameter
Supercharged text field validation.
Provide a way to secure accesses to all routes of an symfony application.
Analytics chooser extensions for site settings.
统计信息
- 总下载量: 156
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 31
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2024-01-25