Security in Mendix has two sides: you want different people to see different parts of your application and you want to prevent unauthorized access. Both of these can be managed from Studio Pro, discussions around the topic right here in this Space!
How to Configure TLS 1.3 for Data in Transit in Mendix 10.X (Java 21) On-Prem Setup?