Answer the question
In order to leave comments, you need to log in
How to deal with security when accepting payments on the site's internal account?
Good afternoon.
There is a shop. Now we are thinking about creating an internal account for users so that they can credit money to the account and pay for goods purchased on the site from it.
What about security? For example, how to track an attempt to hack a personal account in time so that the hacker does not have time to buy goods on the site (in case of a successful hack)?
Answer the question
In order to leave comments, you need to log in
What about security? For example, how to track an attempt to hack a personal account in time so that the hacker does not have time to buy goods on the site (in case of a successful hack)?
You can track a hack attempt as follows. First, set up two-factor authentication. Second, control failed login attempts. Authentication servers support the functionality of account lockout upon multiple unsuccessful login attempts.
As a two-factor in your case, I recommend OTP (OATH HOTP, TOTP) in issuing hardware tokens, either an application on a smartphone, or via SMS.
You can require confirmation of the purchase by the user's phone number or by email. Simply put, use the second channel to confirm your order. Then compromising the account will not allow spending the client's funds.
You can also remove the fingerprint print on the user's keyboard during registration, and then check the compliance. This is also essentially authentication.
Well, checking by IP the place where the user came from is not superfluous. If a user lives in Saratov, and suddenly buys software with all the money while in Zimbabwe, then feel free to suspend the order and perform an additional check.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question