Hi Kemal,
You can use application privilege in your project and grant this application privilege to those who you want to access your xsodata. You can use xsprivileges, hdbrole and xsaccess to achieve this.
You can have a look at the following stuff.
Create an SAP HANA XS Application Privileges File - SAP HANA Developer Guide - SAP Library
The Application-Privileges File - SAP HANA Developer Guide - SAP Library
Application Privileges - SAP HANA Developer Guide - SAP Library
Best regards,
Wenjun