how to protect my JS_SECRET_KEY ?

hi all i am using backendless for my angular js app and for that i used JS_SECRET_KEY ,

when i load my app on browser obviously it will load all js file on browser site so it is not secure .
so, i want to make it secure and want to hide JS_SECRET_KEY from public so how should i do?

Hi Bhavesh,

The secret key is not supposed to be secret, this is just a bad naming and it will be renamed to API key in version 4.

You should use permissions to secure your app.

hi Sergey

at hear we get secret key i am using this key in my js file and that js file will visible for all so, i want to make it secret .

You cannot make it totally secret, the only thing which might help a bit is to obfuscate your code.
As I said, you should not rely on making the secret key hard to find in order to secure your app. Set up correct permissions for users instead.