Mendix on Premises - Allow Admin Login only if the session is open from a certain IP

0
Hi! in a  mendix on premises installation how can i allow the admin login only if it come from the localhost or a specific set of ip address?   The login or sign in action is only available as Button and not in microflow, for this reason i really can't say how to limit the access of the admin.   I see that there is a sign in action in Nanoflow but even with some external module i can't say how to filter with the IP address since we are running the nanoflow in the browser.   Any idea how to enforce the security?   Thanks for the help!
asked
2 answers
0

Getting the IP address for the user can be done with some java code, see this post answer: https://community.mendix.com/link/space/java-actions/questions/127641

Make sure that the login is done with the help of a nanoflow that calls a microflow that can perform the IP address retrieval and then implement the logic.

Or implement the logic in the role based homepage microflow (navigation) and if the IP address is not in the whitelist in your application then log the user out with the help of a sign out activity. 

I'd prefer the first method, but the second is maybe easier to implement.

answered
0

Please check below also.

 

Mendix Community - Question Details

 

Mendix Community - Question Details

 

Mendix Community - Question Details

 

 

 

answered