I am trying to store mp3 files using the attachment_fu and I have
managed to store it on the file system and the database as a blob. The
problem is I dont know if saving it in the public folder of the file
system is safe and when I store it as an longblob in the database how do
i send it back to the user as something that can be downloaded.
I apologize if this sounds too silly as I am a newbie and trying to
build an app which handles large amounts of mp3 files. I am also worried
about security of storing the music files on the public folder.
I would appreciate any help on this .