5
I will not go into details of the technology used, because the doubt is more on the best way to resolve this situation. I have the following scenario:
- Company with several subsidiaries;
- These branches have their employees;
- The system with the front-end in Angularjs and several back-ends in Java has already been in production for almost 1 year.
When the developer logs in from anywhere, he has full access to the system, as it already works normally. However, you will now have a change, if the user logs into any other location, other than within the company, he will only have access to some parts of the system.
What is the best way to check if the user is logging in from within the company and thus releasing full access or from any other location and thus releasing only partial access?
There’s a question, because you can do it using
geolocation
, but I don’t know if it’s the best way to do it.– Rafael Augusto
In my view, this should be the initial concern of the infra team. Offer you a parameter to know when the request comes from extranet.
– Carlos Cariello