HDIV – Java Web Application Security Framework

Outsmart Malicious Hackers

HDIV (HTTP Data Integrity Validator) is a Java Web Application Security Framework. HDIV extends web applications’ behaviour by adding Security functionalities, maintaining the API and the framework specification. This implies that we can use HDIV in applications developed in Struts 1.x, Struts 2.x, Spring MVC and JSTL in a transparent way to the programmer and without adding any complexity to the application development. It is possible to use HDIV in applications that don’t use Struts 1.x, Struts 2.x, Spring MVC or JSTL, but in this case it is necessary to modify the application (JSP pages).


INTEGRITY: HDIV guarantees integrity (no data modification) of all the data generated by the server which should not be modified by the client (links, hidden fields, combo values, radio buttons, destiny pages, etc.). Thanks to this property HDIV helps to eliminate most of the vulnerabilities based on the parameter tampering.

EDITABLE DATA VALIDATION: HDIV eliminates to a large extent the risk originated by attacks of type Cross-site scripting (XSS) and SQL Injection using generic validations of the editable data (text and textarea).

CONFIDENTIALITY: HDIV guarantees the confidentiality of the non editable data as well. Usually lots of the data sent to the client has key information for the attackers such as database registry identifiers, column or table names, web directories, etc.

ANTI-CROSS SITE REQUEST FORGERY (CSRF) TOKEN: Random string called a token is placed in each form and link of the HTML response, ensuring that this value will be submitted with the next request. This random string provides protection because not only does the compromised site need to know the URL of the target site and a valid request format for the target site, it also must know the random string which changes for each visited page.

You can download HDIV here:

hdiv 2.0.4

Or read more here.

Posted in: Countermeasures, Web Hacking

, , , , , , ,

Recent in Countermeasures:
- mongoaudit – MongoDB Auditing & Pen-testing Tool
- Why Are Hackers Winning The Security Game?
- Barnyard2 – Dedicated Spooler for Snort Output

Related Posts:

Most Read in Countermeasures:
- AJAX: Is your application secure enough? - 120,597 views
- Password Hasher Firefox Extension - 118,127 views
- NDR or Backscatter Spam – How Non Delivery Reports Become a Nuisance - 57,802 views

One Response to HDIV – Java Web Application Security Framework

  1. ZaD MoFo April 19, 2008 at 9:23 am #

    I have not yet seen a Social Network Website that displays its use as a security measure.

    Also, the burden of implementing this Framework in small project relegate it to the major league.
    Fortunately, their documentation is ample.