Hello Prince,
This can be accomplished with Path-Based Access Restrictions:
https://docs.mendix.com/developerportal/deploy/environments-details/#path-based-restrictions