I have an application in asp.mvc that has 3 (three) access types, 2 internal and 1 external. Internal access is done by LDAP and the external one by a user table.
No entanto o usuário externo também pode está na rede interna.(aqui é a xarada)
How to identify this access? Because the application consumes internal services that use different IPs for external access. So I need to know what kind of access to put the right IP for the consumption of the service.
Ex:
usuario de acesso interno com DAP quer consultar um pdf (ipInterno:56644/consulta)
Another access, but it is the same IP of the service, because it is in the internal network
Usuario de acesso externo mas na rede interna quer consultar um pdf (ipInterno:56644/consulta)
Other
Usuario de acesso externo fora da rede interna quer consultar um pdf (ipExterno:56344/consulta)