D
D
Dmitry2018-10-22 14:02:26
Java
Dmitry, 2018-10-22 14:02:26

How to restrict access to applications through proxy/VPN?

Good afternoon. I have an application with access to a resource on the network. I want to restrict access to users who use proxy/VPN on their devices. I decided to implement it in the application itself. Tell me an example, if any, or links to reading material for review, Ideally, an implementation mechanism.
I know how to get an ip address to use, but I don't know what to do with it and how to check it.
I wanted to block access by geo, let's say only the CIS, or Russia Ukraine (is it possible to implement this in the application). For other countries the resource is useless.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Michael, 2018-10-22
@IamMichael

It is necessary to collect a database of VPN IPs and block them, there are a lot of such databases, you need to search in Google.
Of course, this does not give a 100% guarantee, because here you already need to trick it, however, as the simplest solution, it will do just fine.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question