php - How to store documents encrypted -
i writing web application store documents server-side. looking best way document storing part.
directly in file system no option, because user should not have direct access them. have options in mind , want here opinion or experience or ideas other possible ways.
store them in password protected container format zip, , store container , document name in table. split archives after size limit.
store them blob inside mysql in separate table.
store them in mysql archive engine table. https://dev.mysql.com/doc/refman/5.1/en/archive-storage-engine.html
use mongodb , gridfs store data.
requirements:
- the user has no direct access files.
- the files must consistent.
- storing files in table should not slow down rest of application.
if use db, store data in separate table , search on second table meta data fields.
Comments
Post a Comment