Web database is a combined production with database technology and Web technology, it stores and manages a great deal of data, if they are embezzled or juggled, which maybe bring enormous political and economic losses to the society. So it is imperative to properly establish security for Web database against illegitimate intrusion. The host identity protocol (HIP) is designed by the Internet Engineering Task Force (IETF), it introduces a separation between the host identity and location identity, and is used to authenticate the host identity of an end system and to set up a limited relationshi...