TIP: Why you SHOULD NOT store binary data in your database!?

The advantage of storing data in the database (DB) is that it take advantage of the database security mechanisms, however this will also increase the consumption of server memory, database storage size, user connections and load on your database server.

If you are building a web app it is highly recommended and more sensible for you to store data outside your database.
You might want to consider taking advantage of Amazon S3 (http://aws.amazon.com/s3/) or other file storage services, if you plan to use S3, and require security mechanism you can create temporary URLs to secure your resources.