Answer the question
In order to leave comments, you need to log in
"Remote Hands" and password security
Please tell people who know the direction of digging.
There is an idea to make a service that will perform automatically, without user intervention, certain actions on another, third-party site. Naturally, a third-party site requires authorization by login / password. OAuth is not. Those. To enter the site, you always need a username / password combination. There is also a session key, which, in theory, can be obtained and stored instead of a login / password, but there is a chance that the key will become invalid. Then the user will have to "transition", which is not convenient. Yes, and it will be necessary to maintain this key by constantly “pinging” a third-party service.
Actually the question is - how to organize all this as securely as possible , so that the user feels protected and secures himself as much as possible from theft of client passwords?
So far, I see only a variant with a cunning self-written encryption algorithm (or a “normal” algorithm with a salt hardcoded into the source) compiled into executable code, and the username / password is clearly encrypted in the database.
Once again I will clarify the scheme:
1. The user registers on my service, leaves (?) a login / password from a third-party service
2. The service itself (by cron) logs in for the user on a third-party service, performs actions, writes logs.
3. The client comes to my service, checks the logs.
Answer the question
In order to leave comments, you need to log in
Usually, how secure the user feels is not much dependent on how and what you encrypt - the user does not see it all. Protect against theft - yes, encryption, salt ...
And a third-party service - one fixed?
if a third-party service does not support open authorization, then only a login with a password. You can of course pervert, but usually the slightest change in the logic of the service, and you have to look for a new way to store data.
What are the recommendations for the encryption method? Say DES_ENCRYPT is fine?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question