Hi there,

Apologies if this has already been answered, but I could not find the information in the documentation and I have already searched the issue queue...

I want to be able to play mp3s to anonymous visitors, but I don't want them to be able to download the mp3 by referring to the file's URL.

Is there a way play the file without displaying the filename in the source code, or is there a way to prevent the file being downloaded, but still allow SWF tools access to play it?

Many thanks,

Dubs

Comments

mossill’s picture

Version: 6.x-2.5 » 6.x-3.x-dev

Any Information on this ?

Stuart Greenfield’s picture

Hmmm, not at the moment. The audio module allowed this by creating a url that served the file without revealing its actual path. At the moment I'm not sure how you would work around this directly with SWF Tools. You would need to implement a similar mechanism to the audio module I think. But in theory once the user has played the file it will be cached locally so if they wanted to they might be able to find it.

Maybe someone else can comment?

The other way if you can do it would be to stream the file so that the user never receives the whole file.