title: Store images(jpg,gif,png) in filesystem or DB?
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/1010589/which-is-more-secure-filesystem-or-database">Which is more secure: filesystem or database?</a><br>
    <a href="https://stackoverflow.com/questions/585224/user-images-database-vs-filesystem-storage">User images - database vs. filesystem storage</a><br>
    <a href="https://stackoverflow.com/questions/766048/store-image-in-database-or-in-a-system-file">store image in database or in a system file ?</a>  </p>
  </blockquote>
  
  <p>I can't decide which one I should follow. Can you guys give some opinions? Should I store my images in the file-system or DB? (I would like to prevent others from stealing my images)</p>
  
  <p>When you answer this question, please include comparisons of the security, performances etc.</p>
  
  <p>Thanks.</p>
  
  <hr>
  
  <p><strong>Exact Duplicate:</strong> <a href="https://stackoverflow.com/questions/585224/user-images-database-vs-filesystem-storage">User Images: Database or filesystem storage?</a><br>
  <strong>Exact Duplicate:</strong> <a href="https://stackoverflow.com/questions/3748/storing-images-in-db-yea-or-nay">Storing images in database: Yea or nay?</a><br>
  <strong>Exact Duplicate:</strong> <a href="https://stackoverflow.com/questions/713243/should-i-store-my-images-in-the-database-or-folders">Should I store my images in the database or folders?</a><br>
  <strong>Exact Duplicate:</strong> <a href="https://stackoverflow.com/questions/662488/would-you-store-binary-data-in-database-or-in-file-system">Would you store binary data in database or folders?</a><br>
  <strong>Exact Duplicate:</strong> <a href="https://stackoverflow.com/questions/561447/store-pictures-as-files-or-in-the-database-for-a-web-app">Store pictures as files or or the database for a web app?</a><br>
  <strong>Exact Duplicate:</strong> <a href="https://stackoverflow.com/questions/325126/storing-a-small-number-of-images-blob-or-fs">Storing a small number of images: blob or fs?</a><br>
  <strong>Exact Duplicate:</strong> <a href="https://stackoverflow.com/questions/766048/store-image-in-database-or-in-a-system-file">store image in filesystem or database?</a></p>