V
V
Vadim2017-05-05 14:58:53
PHP
Vadim, 2017-05-05 14:58:53

Do I need to use HTTPS to activate the software?

Good afternoon

There is software that connects to server "A" for activation, updates, etc.

Is it worth connecting to server "A" via HTTPS?
If you can't connect via HTTPS, try to connect via HTTP?

In the function file_get_contents is used (without this the certificate error):

'ssl'   => ['verify_peer' => FALSE, 'verify_peer_name' => FALSE]


Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly, 2017-05-05
@vitcorp

Of course, it will be better through a secure connection, the program will be protected from illegal activation.
Well, you can also use HTTP, but only if you are sure that your program is well protected from data interception.

S
Site Developer, 2017-05-05
@secsite

Better tunnel (VPN technology).
It is also good to use two-factor authorization (sms, enum).
If none of this is possible then https.
However, for two-factor without a tunnel, the use of https will not be superfluous.
But regardless of the data transfer methods used, you need to worry about encryption and the impossibility/difficulty of forging the transmitted data itself - due to a combination of factors: IP address + cookies + salted password hash, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question