title: Storing Documents as Blobs in a Database - Any disadvantages?
body: <p>The requirements for my document management system were:</p>
  
  <ol>
  <li>Must be secure from theft by simple copying of directories, files etc.</li>
  <li>Must be secure against traditional virus infection (infection of physical file)</li>
  <li>Must be fast to retrieve</li>
  <li>The repository must not be visible to casual (directory) browsing users etc.</li>
  </ol>
  
  <p>I have decided to store all documents (and scanned images) as blobs in the database and so far my experience is wonderful and document retrieval is blindingly fast as well - it meets all the criteria from above and there are even a couple of additional advantages, such as autostoring documents together with the entity it relates to, easy and fast seaching of contents, removing of all sorts of user activities around opening and naming of documents etc. etc.</p>
  
  <p>My question is - are there any serious risks or things that I overlooked with this design and implementation?</p>
  
  <p>EDIT Note: DB is PostgreSQL, handles BLOBS very well and scales exceptionally well. The environment is Multi-user.</p>