ubc-web-services/ubc_saml_auth10
最新稳定版本:1.2
Composer 安装命令:
composer require ubc-web-services/ubc_saml_auth10
包简介
UBC SAML Auth configuration for protected paths
README 文档
README
For setting protected paths, in Drupal ^9.2 || ^10, PHP 8
Protecting Private File Media
This module can be used in conjunction with other modules to provide protections for private file media types.
- Download r4032login module
- Download private file download permission module
- Navigate to
/admin/people/permissionsand find the setting forBypass Private files download permission. Check the "Authenticated User" box and hit Save. - Navigate to
/admin/config/system/r4032login/settingsand selectAllow redirect for listed pages, add in the private file system path the site uses, appended with a*wildcard. For example:/system/files/media-uploads/files/*and hit Save. - Navigate to the "Anonymous Behaviour" Tab and change the redirect path to
/saml_loginand hit Save.
This should ensure that private files are not accessible by unauthenticated users, if a private file is accessed via a direct link this will be blocked by the private file download permission module which will cause a 403, the 4032login module will cause this 403 to redirect to a CWL login. Upon successful CWL login the user will be redirected back to the original file they were attempting to access. Upon unsuccessful login the access will be denied. This provides extra protection for private files and allows for the protection of private files as a media type rather than needing to attach them to a node and protect that node.
For reference see https://isc.ubc.ca/admin/config/system/r4032login/settings
统计信息
- 总下载量: 1.7k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-03-02