In some installations it is important to
protect attached files with the same access controls that are applied to the owning topic. If this option is selected, the configuration will include some rewrite rules that redirect web access to attachments to the
bin/viewfile
script.
- Note that this option can have a significant impact on performance.
- Also, this option is incompatible with ImageGalleryPlugin as it writes to
/pub/images
which is not a valid web name.
- Viewfile sets the mime type based upon file name suffix. Unknown types are served as
text/plain
which can result in corrupt files.
- This option will also add some rewrite rules that bypass viewfile for certain graphics files - review the comments in the configuration carefully!