I can use mediafield to upload audio files into drupal when I have the file setting set to private, but then when I display the node with the audio file in it the link is wrong. I know Drupal wouldn't be able to point to the file directly because the folder is above the web access folder...but if this is the case how can I get the file to be accessible by the page? And more importantly, how do I get a link to the file that is able to be put into a flash-based media player but yet not hot-linkable? Is this outside the realm of Mediafield? Do I need to use another module to get this to work?
I need to protect my proprietary files...and I've learned that serving files publicly and just .htaccess protecting the files directory won't do it.
Any help would be greatly appreciated.
Comments
Comment #1
rares CreditAttribution: rares commentedHey, after you switch to private file system, the links will like system/files, and you can set permissions for those downloads.
I think there's no way to make a flash player appear without inserting the link in the HTML code, but if you set downloads to private and install mediafield_display, you have a pretty good solution. Files can still be downloaded, but not by anyone.
BTW, you need to do this in order to have mediafield_display work with private filesystem: http://drupal.org/node/259682
Maybe if you hack the flash players pass the the URL to the media file encrypted to them....
Comment #2
a_c_m CreditAttribution: a_c_m commentedI've just taken over maintainer of this module, this is a old issue thats not been updated in a long time, if its still a problem/of interest let me know and I will take a look - otherwise please close it. No updates for 2 week = i close it.
Comment #3
a_c_m CreditAttribution: a_c_m commented