hexis-hr/access-control-profiler-bundle
Composer 安装命令:
composer require hexis-hr/access-control-profiler-bundle
包简介
Access Control Profiler Bundle
README 文档
README
The AccessControlProfilerBundle is a Symfony bundle designed to enhance security by restricting access to the Symfony
profiler based on IP addresses.
Features
- IP Address Access Control: Allows you to control access to the Symfony profiler based on IP addresses. Only specified IP addresses are granted access to the profiler.
- Event Listener Implementation: Utilizes Symfony's event listener to intercept kernel requests and enforce IP address access control for the profiler.
Installation
Install the AccessControlProfilerBundle via Composer:
composer require hexis-hr/access-control-profiler-bundle
Configuration
Environment Variables (.env)
ALLOWED_PROFILER_IPS="127.0.0.0,127.0.0.1"
- Replace
'127.0.0.0'and'127.0.0.1'with the IP addresses allowed to access the Symfony profiler.
Configuration File (config/packages/access_control_profiler.yaml)
access_control_profiler: profiler_route: '_profiler'
Usage
Once installed and configured, the AccessControlProfilerBundle automatically restricts access to the Symfony profiler
based on the configured IP addresses. Only requests originating from the specified IPs are granted access to the
profiler.
Contributing
Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests.
License
This bundle is open-sourced software licensed under the Apache License 2.0.
Feel free to customize the README with additional information such as usage examples, troubleshooting tips, or any other relevant details specific to your bundle and its functionality.
统计信息
- 总下载量: 672
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2024-02-02