I have a Drupal 7 site that has downloadable resources (PDF files) in blocks that need to be visible to all visitors, but only available for logged in visitors to download. How can I accomplish this?
Any advice is great appreciated.
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Consider using
Private filesfor your file field and let Drupal handle all this.Here is how to work with files in Drupal 7. This should put you on the right track.
Hope this helps.