Security update: files the web server keeps closed — .htaccess, PHP source, and other plugins’ logs and backups in folders that deny all access — can no longer be read through Medifence’s delivery address. Recommended for all sites.
- The delivery handler no longer hands out files the web server itself keeps closed. Because the address it answers on can be typed by anyone, a logged-in account of any role — or anyone at all during a pause or for a folder outside the protected scope — could read .htaccess files, PHP source, and files that other plugins keep in the uploads directory behind a “deny from all” rule, such as logs, exports and backups. Those are now refused with a plain 404, the same answer as for a file that does not exist.
- The check that a requested file lies inside the uploads directory now compares whole folder names, so a symbolic link that resolves to a sibling folder with the same beginning (uploads-old next to uploads) is no longer accepted.
- The file name sent with a delivered file is reduced to plain ASCII, and the exact name, when it differs, travels in the RFC 6266 form, so a quote in a file name can no longer be read as part of the header.
- The [medifence_files] list and the file name shown on the login screen skip the files that are refused.
- Tested up to WordPress 7.1.
📦 Download Medifence 1.75.0 (zip)

