ubc-web-services/ubc_saml_auth10 问题修复 & 功能扩展

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

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

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.

  1. Download r4032login module
  2. Download private file download permission module
  3. Navigate to /admin/people/permissions and find the setting for Bypass Private files download permission. Check the "Authenticated User" box and hit Save.
  4. Navigate to /admin/config/system/r4032login/settings and select Allow 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.
  5. Navigate to the "Anonymous Behaviour" Tab and change the redirect path to /saml_login and 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

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-03-02