Is JavaScript validation is enough?

Is JavaScript validation is enough?

Client-Side Script:

Script run by the viewing web browser is called client-side script. Client side script example javascript, vbscript.

JavaScript:

JavaScript is an object-oriented scripting language used to enable programmatic access to objects within both the client application and other applications. It is primarily used in the form of client-side JavaScript, implemented as an integrated component of the web browser, allowing the development of enhanced user interfaces, dynamic websites and form validation. JavaScript most supported by all web browsers.

Server-side script:

Server-side scripting is a web server technology in which a user’s request is fulfilled by running a script directly on the web server to generate dynamic web pages. It is usually used to provide interactive web sites that interface to databases or other data stores. This is different from client-side scripting where scripts are run by the viewing web browser, usually in JavaScript. The primary advantage to server-side scripting is the ability to highly customize the response based on the user’s requirements, access rights, or queries into data stores. Server side scripting examples ASP.net, PHP and JSP.

JavaScript Benefits:

1)      JavaScript works client-side as opposed to server-side so you can do things without the page having to be sent back to the server, such as validate form input for example.

2)      We can show better UI with effects.

3)      Using JavaScript we can make site friendlier to end users.

4)      We can reduce load on server.

Why we need Server side verification?

Java script is client side scripting language know. So it can we access by the end users to modify the script. Now days we can get more plug-in for that like IEwebdevelopertool, Firebug …

See this image Users can remove the javascript events by using the developertools.

javascript editing using developertool
Javascrip developertool

So it better to verify again in server side. Is it right?

Thanks,

Naga Harish Movva