I am designing a portal where I have to send requests to the server and get response from it. Since I'm writing the entire code in JavaScript [AJAX], it's hard to safeguard the URL's which i'm using. Right click --> view page source will make the entire script, URL's naked!
I know it's impossible to protect your code 100% by writing in JavaScript, Is there any ither way to do it? Any other language?