Here is what I would like:
An anonymous user goes to a page called "Sales". They see a link to a PDF. When they click on it, it brings them to a Login/Register page so that they can view the PDF. After logging in, it redirects them to that page with the PDF and they can view/download it.
Here's what I've done so far:
I have a page called "Resource Library". In this page, I have a PDF that I want to be viewable by only Registered Users. So I set the html module with this PDF to be viewable by Registered Users only.
Then, I want to link to that file from a page viewable by all users called "Sales" so when they try to go to that PDF, it will bring them to my Login/Register page.
However, this doesn't seem to work. The PDF is always viewable to anyone regardless of the permissions of the module or page. Is there a way that I can get this working?