I'm going to try image file upload. Then, I thought there were two choices. First, I can save the image file into the directory which is not available for viewers. Second idea is that I can save the image binary data into the database.
Which is better? Or, could you tell me the advantages and disadvantages of these methods?
Finally, I'm going to use CakePHP.