Document that public files are accessible even if shield is active

Created on 5 August 2021, almost 3 years ago
Updated 6 April 2023, about 1 year ago

Problem/Motivation

Contributed files are accessible even if shield is active on the current drupal instance. If shield is active, no contributed contents and files shoud be accessible in the public directory.

Steps to reproduce

Install Drupal 8.9.17
Install and enable shield 8.x1.4
Contributes somes files or media in the public directory

Is it a normal behaviour ? Is it a feature request ?

Whenever, many thanks for this great module !

✨ Feature request
Status

Active

Version

1.4

Component

Code

Created by

πŸ‡«πŸ‡·France Attraktive

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¦πŸ‡ΊAustralia realityloop

    I expect this is related to web server configuration.

    Shield is likely only invoked if the request is served via PHP, may web servers have images being served directly by the web server therefore bypassing shield.

  • πŸ‡ΊπŸ‡ΈUnited States bkosborne New Jersey, USA

    Indeed, the Shield module only locks down requests that Drupal is involved in responding to. That exclude static assets that the web server would serve directly without bootstrapping Drupal. I think this is really an issue of documenting that clearly on the project page.

Production build 0.69.0 2024