just-core / auth-page
just-core生态系统页面黑白名单插件
v0.7.1
2017-02-08 22:45 UTC
Requires
- php: >=5.3.3
Suggests
- just-core/auth-crude-acl: Crude Role Based Access Control List
- just-core/auth-login: Authentication Page Plugin for the just-core eco system
- just-core/foundation: PHP Enterprise (HA) High Availability Framework, develop quick and simple, deploy quick and consistent
- just-core/stub: Stub application for the just-core eco system, see how simple it is...
This package is auto-updated.
Last update: 2024-09-16 18:48:23 UTC
README
JCORE\SERVICE\AUTH\PAGE_FILTER
一个基于基本“白名单或黑名单”权限方案的认证应用的基本附加服务
白名单
为了提供最高的安全性,仅允许查看特定的页面
黑名单
为了提供一个更公开的网站,允许阻止特定的页面
安装
Composer
将项目添加到您的composer文件中 "just-core/auth-page" : "dev-master",
{
"name" : "your project",
"description" : "info about your project",
"license" : "GNU",
"version" : "1.0.0",
"require" : {
"php" : ">=5.3.3",
"just-core/foundation" : "0.5.*",
"just-core/foundation" : "dev-master",
"just-core/auth-page" : "dev-master"
},
"autoload" : {
"classmap" : [
"SERVICES"
]
}
}
配置
您还需要将示例文件 CONFIG.AUTOLOAD.auth.page.local.php 和 harness.example.php 拷贝到您的应用中,并修改它们,例如。
[application_root]/.../[http_exposed_dir]/harness.php
[application_root]/CONFIG/AUTOLOAD/auth[.login].local.php