A
A
Alexander Sinitsyn2018-08-05 18:57:01
Yii
Alexander Sinitsyn, 2018-08-05 18:57:01

How can I encrypt user materials on the site (texts, images, other files)?

As I think... a key is attached to a group of users and all materials are automatically encrypted by it somehow... but how to organize this process so as not to strain the server too much?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Spiridonov, 2018-08-05
@customtema

mcrypt, you can choose the degree of algorithm security, which is directly proportional to the costs
php knows how to work with mcrypt
Think about where and how you will store keys to user storages
For example, CodeIgniter can encrypt user data. You can use, or just peep how it's done.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question