I'm trying to set up a mechanism for downloading a PDF file which is available only if a member logs in (restricted access)
So I'm looking on two options:
1) I already have a PDF and would like to add it in public folder but don't know how to restrict the access towards the same (if user logged then access)
2) Have the file on the server and actually make a Meteor.Call from the client to grab the pdf and get it back for download.
Which option is the simplest to implement and how should I do it. I have been crawling the web for the past day and I just can't figure it out how to implement either...