Our application uses JavaScript to show/hide buttons and div's that provide information for a user based on their security level. Their level is determined from a database query that is done in either .NET code behind or a web service.
Our concern is that a hacker could modify the JavaScript on their local machine to give them additional security or view additional information. Right now, the application only works with IE, but it will be supported under all browsers in the future.
A couple questions:
1. Is there any way to protect against someone modifying their local js file and then submitting a page?
2. Is this something we should really be concerned about from the js side or should we put more emphasis on validating data on the server side?
Thanks!
Our concern is that a hacker could modify the JavaScript on their local machine to give them additional security or view additional information. Right now, the application only works with IE, but it will be supported under all browsers in the future.
A couple questions:
1. Is there any way to protect against someone modifying their local js file and then submitting a page?
2. Is this something we should really be concerned about from the js side or should we put more emphasis on validating data on the server side?
Thanks!
Comment