Have a look at the documentation on security: https://docs.mendix.com/refguide/security/
specifically look at the entity access section: https://docs.mendix.com/refguide/module-security/#entity-access
This will explain how to make sure that records are available to only you for example.