title: Upload large files to sitecore media library
body: <p>I have a media centric website that requires us to upload large images, videos to the media library. </p>
  
  <p>I have the default settings for the following settings in web.config. </p>
  
  <ol>
  <li>Media.MaxSizeInDatabase (20MB) </li>
  <li>httpRuntime maxRequestLength </li>
  </ol>
  
  <p>I do not want to increase MaxSizeInDatabase limit on the production server for security reasons. </p>
  
  <p>Also, Media.UploadAsFiles is set to false. </p>
  
  <p>So, my question is - Is there a way to configure sitecore such that if the file being uploaded is less than 20MB, it gets stored in the database and the files larger than 20MB get stored on the file system? </p>