I have a website that generates decent traffic (fifteen or so users on at any given time) and I was wondering if storing files for download in a MySQL database would be a good idea. I would like to do this because it would allow me to prevent hot linking and it would let me limit who can download files and who can't. I'm just worried that having downloads (some around almost 20MB, most about 5-7) stored and retrieved from a database would be a big preformance hit to the site.
Thoughts please? Maybe alternatives that would allow me to limit downloads if this is a bad idea.
Storing files in MySQL.. Good idea?
Moderator: General Moderators
- Buddha443556
- Forum Regular
- Posts: 873
- Joined: Fri Mar 19, 2004 1:51 pm
Do you have mod_rewrite support? Simple tutorial: http://www.htmlite.com/HTA013.php
I found this article about symlinks interesting: http://tanksoftware.com/tutes/leechprotection.html
Just a couple of options. I would definitely explore other options first.
I found this article about symlinks interesting: http://tanksoftware.com/tutes/leechprotection.html
Just a couple of options. I would definitely explore other options first.