HTML webpage tamper detection and positioning method

A technology for HTML web page tampering detection, applied in the field of HTML web pages, can solve the problems of being unable to locate, knowing where it has been tampered with, and unable to locate the tampered location, etc., so as to avoid cumbersome calculations and achieve efficient operation of web page tampering detection and positioning Effect

Inactive Publication Date: 2009-12-09
HUAZHONG NORMAL UNIV
View PDF0 Cites 38 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003]Digital watermarking solves the problem that the size of the file is increased after the file is encrypted, and the message authentication code is easy to be found, but the existing digital watermarking scheme based on the webpage can only Realize authenticity authentication, but cannot locate the location of tampering, the reason is that the acquisition algorithm of the message authentication code is reversed, and the message in the pre-detected web page can only be judged whether it matches but cannot be restored, that is, it is impossible to know where tampered with, making it impossible to locate
[0004] After searching the literature of the prior art, it was found that the paper PCA published by Hongtao Lu et al. -basedWebpage Watermarking (PCA-based webpage digital watermarking) proposes a PCA-based webpage digital watermarking scheme, which uses digital watermarking technology to detect tampering of HTML webpages, but its shortcoming is that it cannot locate the tampered position

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • HTML webpage tamper detection and positioning method
  • HTML webpage tamper detection and positioning method
  • HTML webpage tamper detection and positioning method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The technical scheme of the present invention is described in detail below in conjunction with accompanying drawing:

[0034] (1) Watermark pre-embedding process

[0035] Step 1.1, from each row and each column in the original HTML webpage source code, extract the value of each character respectively to obtain a corresponding one-dimensional array, and then convert the generated one-dimensional array into a two-dimensional matrix in turn.

[0036]The previous technology only extracts letters for web pages with pre-embedded digital watermarks, but now it adds value extraction for numbers and some symbols, because the information of numbers and symbols in web pages is also very important. Therefore the present invention provides a kind of implementation mode as: extracting the letters, numbers and symbols in one row or column of the HTML web page source code in the order in the HTML web page source code, and then converting all the letters, numbers and symbols into numeri...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an HTML webpage tamper detection and positioning method, including the following processes: (1) watermark pre-embedding process, the numerical values of characters on corresponding positions in each line and each row in the original HTML webpage source codes are respectively extracted so as to obtain corresponding one-dimensional arrays, and the generated one-dimensional arrays are respectively converted into two-dimensional matrixes; a line digital watermark and a row digital watermark are generated, authentication codes in the line digital watermark and the row digital watermark are in two-position tandem connection so as to obtain a webpage digital watermark; the webpage digital watermark is embedded in the original HTML webpage source codes in advance; (2) tamper detection and positioning process, firstly, the extraction and the recovery of the webpage digital watermark are carried out; secondly, the webpage digital watermark which is embedded in advance is compared with a new webpage digital watermark, and the complete matching of the two webpage digital watermarks can indicate that the webpage source codes are not tampered, or the lines and the rows with different authentication codes in the two webpage digital watermarks are defined to be tampered in the premise that the two webpage digital watermarks are not completely matched with each other.

Description

technical field [0001] The invention relates to a method in the technical field of HTML webpages, in particular to a tampering detection and positioning method for HTML webpages. Background technique [0002] Nowadays, the Internet has become an indispensable tool for people to acquire and exchange information. People can publish their own works and transmit important information through the Internet. However, while it brings convenience to people, it also exposes more and more serious security problems. Using the existing technology, the webpage is easy to be tampered with, and it is difficult to judge whether the webpage has been tampered with simply by human eyes. Authenticity authentication and tamper detection and location of web pages are becoming more and more important. The traditional file digest technology based on hash function is to obtain the message authentication code by hashing the source file of the webpage, add the message authentication code to the pre-p...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/24G06F17/30G06F21/64
Inventor 金聪潘敏
Owner HUAZHONG NORMAL UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products