0

We are using angular JS with spring boot. Everything is working fine but we have some problem as our UI is deployed at different location and Java code is at different. When we inspect in browser, we are able to see our JS source codes and all the controllers in browser. Due to this our complete logic is exposed in browser. Please help us to hide the code or the best way to hide code from browser to secure the application.

enter image description here

0

1 Answer 1

0

you can not hide the source but you can minify the code. The sense of javascript is to download the script into the browser and run it there. You can also use node.js to run important code on the backend.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.