By danny englander on
I am wondering if it would be possible to disable the link to a CCK FileField file to anonymous users in a node?
Ideally I have several nodes where a user can see the name of any given cck file of a certain type but the only way they will be able to download it would be to either login or register. I'd have the file permissions set as authenticated and up for this. (Or is there a better way of what I am trying to accomplish).
Comments
Private Download
I use the module Private Download (http://drupal.org/project/private_download) to create a directory for only certain roles. Then on your CCK filefield, under path settings, you can create your own path to force uploaded files to be in this directory. The links should still show, but anonymous users will get a 403: Access Denied error.
Alan
alan, that probably would be
alan, that probably would be good but I am already using private download module for another functionality on my site. I'll have a look at the settings to see if I can modify that in some way to work for both things I need. Thank you.
Danny Englander | Twitter | Instagram