Visitors who open a protected file can now be sent to the login screen, and land back on the file they asked for once they are in.
Until now a denied request simply returned a status code, which is a dead end for whoever clicked the link. Someone who follows a link to a members-only PDF is now told what to do next.
- “When access is denied” lets you choose between returning the status code (default) and redirecting to the login screen.
- The redirect happens only when the browser navigates to the file itself. Images and videos embedded in a page still receive the status code, so a login form never appears where an image should be and your layout stays intact.
- The distinction uses the Fetch Metadata headers browsers send, falling back to the Accept header when they are absent.
📦 Download Medifence 1.6.0 (zip)

