Skip to Content
0
Jun 16, 2020 at 06:18 AM

Hide authentication code in controller sap ui5

238 Views

Hi,

I have a custom sap ui5 app in which I have a condition check to test whether the user is authorized or not. I am making a odata call to check the authorization. But the thing is other developer can easily overwrite/change the authorization when he is in debug/developer tools mode(F12). This looks some kind of security threat for me. How to hide the security check code in my controller.js?