srinu pearl wrote:We need to add security using javascript
You must keep in mind that JavaScript is executed on the client side and it's easy for the user to disable or even change it using tools like GreaseMonkey. Relying on JavaScript for any kind of security is a Bad Idea. "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
srinu pearl wrote:Can anyone suggest a security measure using the Javascript code in the servlet.
srinu pearl wrote:My goal is to redirect to URL (http://www.xxx.com?a=qwe23). If this URL is exposed to outside world, anyone who knows it can use it and use the services provided for free without any authentication.
We are connecting from Network A to Network B. The site is hosted on Network B. So when we want to redirect the URL from Network A to Network B, a java script security feature should be implemented.
Can anyone suggest a security measure using the Javascript code in the servlet. The thing which I am aware is sending the post request by hiding the parameter. But I wan't to implement the security feature in such a way that anyone who knows the URL cannot access the site without authentication.
| Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |