How possible is it to have a file that is not a file asset but can still be served by a public and private URL?
I am writing a file into a file assets data directory. So far, I can figure out how to serve that file with a public URL, but I can't figure out how to make that into a private, matrix URL if that "parent" asset is not public or live.
I am wondering if this is even possible, and if an alternative "shadow" file asset needs to be created to handle something like this. I am thinking something in similarity to an image variety asset, only one that does not resize images.
It seems that there might be some difficulty in this with the file knowing it is live, public read and also things like https.
File Private Data Directory
nnhubbard
(Nic Hubbard)
#1