In php, you can use headers to force file downloads, as well as hide actual file locations, etc.
This is useful if you want certain users to be able to download certain files under certain conditions.
How do I do this in a meteor? I played with the Node.js fs module and got the binary version of the file on the client. But how would I turn this into an actual file that was uploaded?
Thanks!
source share