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!
Consider using Private files
for 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.