I would like to hear advice from the more experienced developers. The project is now in the design stage. It's mobile application and a simple web application. Content is pictures, comments, personal correspondence.
Pictures can be quite personal. Need a very serious attitude to security.
The question is simple: where to store photos and how to secure it?
I think it's will be in the following way:
1. User make some photo. Via SSL the application sends photo to the server.
2. The server recieve photo, encrypt it and store somewhere.
Also, via app the user can see all own photos.
1. Request to server for photos.
2. Server decrypt stored photos and send via SSL to client.
I need some technical advices: where to save images, I know that database is quite slow for this case, which algorithms use for encrypt/decrypt, what about cache. It will be highload project and performance is very important.