/downloads/protected/ folder and internal redirect #2052
amitu
started this conversation in
Ideas & RFCs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We will have
ftd.internal-redirect
andft_sdk::internal_redirect()
responses to support internal redirect, meaning the URL will remain what was requested, and we will actually return 200 (not redirect status code), and serve the content of the file (or http request) that is pointed as the Location.Files in
/downloads/protected/
can only be downloaded via internal redirect.This can be used to implement password protected or payment protected etc download of static files.
Beta Was this translation helpful? Give feedback.
All reactions