Method for canceling harmful code of hypertext marker language

A hypertext markup and standard code technology, applied in the field of eliminating harmful codes in hypertext markup language, can solve the problems of server security damage, elimination of harmful HTML codes affecting user experience, abnormal display of web page layout, etc., to achieve guaranteed performance , the effect of improving safety

Inactive Publication Date: 2010-07-21
ALIBABA GRP HLDG LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The purpose of the present invention is to provide a method for eliminating harmful codes in hypertext markup language, to overcome the problems of abnormal display such as Web page layout and server security damage caused by displaying HTML codes, and also overcome the existing problems. It is difficult to realize the shortcomings of eliminating harmful HTML codes and the shortcomings of affecting user experience during the input process of users who are not familiar with ubb in the technology

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
  • Method for canceling harmful code of hypertext marker language
  • Method for canceling harmful code of hypertext marker language
  • Method for canceling harmful code of hypertext marker language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052]The core of the invention is that in the process that the content containing HTML codes passes through the server, the server can eliminate harmful codes in the codes by completing, filtering, correcting and transforming the codes. During the specific implementation, the content containing HTML code input by the user may be sent to the database through the server, and these codes shall be completed, filtered, corrected and converted by the server before being stored in the database, or stored in the database. During the process of displaying the HTML codes of the HTML codes to the client through the server, the server completes, filters, corrects and converts these codes.

[0053] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0054] Those skilled in the art know that HTML belongs to Docu...

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 discloses a method for eliminating the malicious codes in hypertext markup language (HTML), including the following steps: during traversing analytically input HTML codes, incomplete HTML label is completed; according to a predefined rule, the HTML codes are filtered; during traversing and analyzing the completed and filtered HTML codes, the HTML codes are corrected on the basis of requirements according to preset corresponding operation; finally, according to a preset code table, the browser non-standard codes along the HTML codes are converted into standard codes. The processing of the method can be completed by a server after a user inputs and submits a code containing HTML content, or can be completed during a database sending the stored code containing HTML content to aclient end via the server. Adopting the invention can eliminate the malicious codes in HTML to ensure normal display of a web page, thereby guaranteeing the performance of the server; meanwhile, the invention improves the safety of the server without influencing the perception of a user during the process.

Description

technical field [0001] The invention relates to computer network technology, in particular to a method for eliminating harmful codes in HyperText Marked Language (HTML). Background technique [0002] Hypertext Markup Language is a simple markup language used to create hypertext documents. Hyper Text Transportation Protocol (Hyper Text Transportation Protocol, HTTP) stipulates the rules and operations to be followed when running HTML documents. A hypertext document edited with HTML is an HTML document, which can be applied to various operating system platforms. Since 1990, HTML has been used as the information representation language of WWW (World Wide Web, World Wide Web, which can also be abbreviated as Web). The ubiquitous application of HTML has brought the effect of hypertext, that is, users can click on links to go to related topics, send e-mails, fill out forms and submit them online, and access databases and information resources. Among them, no matter whether the ...

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 Patents(China)
IPC IPC(8): G06F17/30H04L29/06
Inventor 鲍磊陈波
Owner ALIBABA GRP HLDG LTD
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