I am building an app whose central feature is a chat.
Within this chat you cen send text, images and videos.
The normal way is, to store the media files somewhere on the file system. But my app has a higher need for privacy so i want to prevent the media files from beeing easy accessible outside of the app.
My only way right now is, to store the files as an base64 string within a pouchdb. But storing files in a database is not the best way i guess…
Do you guys have some different and better approach for me?