The key seems to be many documents (pdf, .docx etc.) here many documents (pdf, .docx etc.) . For many of them, we can assume that your data will be very large. You can use both approaches technically. You should keep in mind that if you are using a database to store data, and your database backend is sql express, you have limitations on the size of the database that you need to worry about. Therefore, you should use Sql Server Professional or Enterprise to avoid this. Also, if you must use a database, use a separate database than your main db. My recommendation :
1. use the file system
2. only store links in the database to your files 3. Regularly save files on the file system, as well as your database 4. Protect the directory in which the files are stored to prevent unauthorized reading or downloading of files.
If the database is used for storage, it has the advantage that when backing up the database you have all the backups, so moving data is simpler, but the advantages of storing in a file system based on your requirements outweigh these advantages.
source share