Difference between Client side filter and Server side filters in Cyber Security
Filters are used to check whether the input entered by user is following the accepted standard or not. Filters are used either in browser (client side filtering) or in server (server side filtering) to validate the input given by the user in web application.
1. Server Side Filters :
These are the types of filter checks present in the server. When the user types an input, the input is forwarded to the server for validation. If the data entered by user is valid, the input is accepted else error is thrown depending on the input.
2. Client Side Filters :
These are the types of filter checks present in the browser itself. When the user types an input, the input is verified by the client side filters. If the data entered by user is valid, the input is accepted else error is thrown depending on what wrong input the user has typed.
Difference between client side filter and server side filters in cyber security :
CLIENT SIDE FILTERS SERVER SIDE FILTERS The filters are present in client side or browser side. The filters are present in server side. Client side filters are easy to bypass or tamper. Server side filters are difficult to tamper or bypass. No load to the server as the browser is performing the input validation checks. Server recourses are used as the input validation checks are performed in the server itself. Code is written using client side languages like html, java. Code is written using server side languages like php, c#. Input is first validated by browser and is then forwarded to the server. Input is forwarded to the server as it is (without the intervention of browsers). Don’t provide much security to data. Provide better security to data. Response from client side filters are faster since they reside in the user’s browser itself. Response from server side filters are slower since filter checks are present in server and they are sent back to user’s browser.