In theory it should, but from my experience this may turn out to be a lot slower than storing it in the file system. If you do not have access to locations outside your web root, a directory with a .htaccess saying "deny from all" could be used for storing the files.
Obviously, the file handling the download would need to be placed outside of that directory.