J
J
j0rdan2013-12-21 20:53:50
PHP
j0rdan, 2013-12-21 20:53:50

Authorization using the client application

The task was to implement authorization on the site through a special key, this is a text file with a specific key. We decided to write a client application that would be installed on the user's machine and listen to some port during authorization, the server would send a request to this application, it would simply take the key on the user's machine and send it in response. It is desirable to implement all this in c#. In this case, there should be no problems with NATs! can anyone come across what you advise?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
Y
Yuri Yarosh, 2013-12-21
@d00mko

Why shouldn't the application register itself on the server at startup?...
You can do hole punching .
Key exchange - Diffie-Hellman.
Encryption - AES or Blowfish.

J
j0rdan, 2013-12-21
@j0rdan

There may be several keys on one machine, so the problem may arise. The idea is that the application should always hang in the background, and even better if as a service.

J
j0rdan, 2013-12-21
@j0rdan

In order not to produce a topic, I'll ask here. If I start listening to a port in the console application, the firewall asks if you trust it, and if you do, then the port and the machine can be accessed via the Internet. But if the port is opened in the service, then this port is only open locally and cannot be accessed via the Internet unless the firewall is turned off. What can be done?

Y
Yuri Yarosh, 2013-12-22
@d00mko

lvl 80 Google Search Adept
Well kag-be here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question