CN113179251B - Front-end file processing method, device, equipment and machine-readable storage medium - Google Patents

Front-end file processing method, device, equipment and machine-readable storage medium Download PDF

Info

Publication number
CN113179251B
CN113179251B CN202110334583.1A CN202110334583A CN113179251B CN 113179251 B CN113179251 B CN 113179251B CN 202110334583 A CN202110334583 A CN 202110334583A CN 113179251 B CN113179251 B CN 113179251B
Authority
CN
China
Prior art keywords
rewriting
url
rewritten
configuration list
web page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110334583.1A
Other languages
Chinese (zh)
Other versions
CN113179251A (en
Inventor
王旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Security Technologies Co Ltd
Original Assignee
New H3C Security Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN202110334583.1A priority Critical patent/CN113179251B/en
Publication of CN113179251A publication Critical patent/CN113179251A/en
Application granted granted Critical
Publication of CN113179251B publication Critical patent/CN113179251B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/029Firewall traversal, e.g. tunnelling or, creating pinholes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/16Implementing security features at a particular protocol layer
    • H04L63/166Implementing security features at a particular protocol layer at the transport layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Abstract

The present disclosure provides a front-end file processing method, apparatus, device and machine-readable storage medium, the method comprising: acquiring WEB page files with wrong and missed rewriting after the initial URL rewriting; the WEB page file is responded by the WEB server according to the client access request; according to a pre-configured rewriting configuration list, matching URLs to be rewritten in WEB page files, and rewriting the URLs to be rewritten in the matching rewriting configuration list into associated target URLs in the rewriting configuration list; the rewriting configuration list comprises URL fields to be rewritten and associated target URL fields; and sending the rewritten WEB webpage file to the client equipment. According to the technical scheme, through the pre-configured rewriting configuration list, the URL contained in the WEB page file after the initial URL rewriting is subjected to error screening comparison again, the URL field which is omitted or wrongly rewritten in the initial URL is rewritten correctly, and therefore the rewriting accuracy rate of the WEB page file serving as the response file is improved.

Description

Front-end file processing method, device, equipment and machine-readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a front-end file processing method, apparatus, device, and machine-readable storage medium.
Background
SSL (Secure Sockets Layer) is a security protocol that provides security and data integrity for network communications. SSL encrypts the network connection between the transport layer and the application layer.
VPN (Virtual Private Network) is a Private Network established on a public Network to perform encrypted communication. The VPN gateway realizes remote access through encryption of the data packet and conversion of a data packet target address. A VPN may be implemented in a number of ways, including server, hardware, software, etc.
The SSL VPN provides remote secure connection services on an SSL basis. The SSL VPN gateway is positioned between the remote access user and the internal network of the enterprise and is responsible for forwarding messages between the remote access user and the internal network of the enterprise. Enterprises or institutions can provide services for accessing internal resources and ensure security for mobile users or external customers through SSL VPNs.
The WEB access is one of the access modes of the SSL VPN gateway, and through the WEB access mode, a user can establish a safe connection with a remote Web server by using a browser embedded with an SSL protocol through the Internet to access internal resources.
When a user accesses the intranet Web site through the gateway, the gateway can rewrite the accessed URL so as to ensure the normal access of the user. Taking SSL VPN gateway https:// www.gateway.com:4430 and intranet resource server URL http:// www.abc.com as an example, the URL for the client to access the intranet resource server will be rewritten as https:// www.gateway.com:4430/_ proxy 2/http/80/www.abc.com. Only the rewritten URL can access the intranet Web resource through the gateway proxy.
The method for the front-end file (e.g. HTML, JavaScript, etc.) returned by the intranet Web server to contain URL or process URL parameters needs to be rewritten so that the URL issued by the browser when executing the file is the rewritten URL. For example, the html file returned by the server contains the following statement "< ahref ═ HTTP:// www.h3c.com.cn/" > ", if the SSL VPN gateway is forwarded to the browser without processing, the browser will use the URL to trigger the HTTP request, but the request will not pass through the gateway, since the website is deployed in the intranet and the URL usually carried by the website is also directed to the intranet server, the request will not be correctly responded, and therefore the server needs to scan the response file to identify the URL portion and then rewrite the URL portion.
The types of web page files on the Internet are numerous, and are continuously enriched with the development, and some scripting languages, such as JavaScript, used in web pages are extremely flexible in writing method and have no strict standard. Many factors lead to complexity of the web page file, so that omission of rewritten scenes cannot be avoided by conventional rewriting means. In some websites, the value of the Content-Type header carried in the HTTP header of the response does not correctly indicate the Type of the file or does not carry the file, and the SSL VPN gateway cannot correctly rewrite the response file to be rewritten.
Disclosure of Invention
In view of the above, the present disclosure provides a front-end file processing method, a front-end file processing apparatus, an electronic device, and a machine-readable storage medium, so as to solve the problem that it is difficult for the gateway to correctly rewrite the rewritten response file.
The specific technical scheme is as follows:
the present disclosure provides a front-end file processing method, applied to a gateway, the method including: acquiring WEB page files with wrong and missed rewriting after the initial URL rewriting; the WEB page file is responded by the WEB server according to the client access request; according to a pre-configured rewriting configuration list, matching URLs to be rewritten in WEB page files, and rewriting the URLs to be rewritten in the matching rewriting configuration list into associated target URLs in the rewriting configuration list; the rewriting configuration list comprises URL fields to be rewritten and associated target URL fields; and sending the rewritten WEB webpage file to the client equipment.
As a technical scheme, the rewriting configuration list is configured by using a browser debugging and packet capturing tool to position and rewrite a missed position; and the missed position is the URL position where the browser executes missed rewriting and/or error rewriting found in the WEB webpage file after the initial URL rewriting.
According to one technical scheme, the URL to be rewritten in the WEB page file is matched according to a pre-configured rewriting configuration list, and the URL to be rewritten of the matched rewriting configuration list is rewritten into a rewriting configuration list
Including: caching the segmented messages of the WEB page files sent in segments and inquiring
And if so, rewriting the URL to be rewritten into a target URL associated in a rewriting configuration list.
As a technical solution, the caching a segment message of a WEB page file sent in a segment, and querying whether a URL to be rewritten exists at a data connection point between the cached segment message and a next segment message includes: if not, the segmented message in the cache is cleared, and the next segmented message is cached.
The present disclosure also provides a front-end file processing apparatus, which is applied to a gateway, and the apparatus includes: the acquisition module is used for acquiring the WEB webpage files with wrong and missed rewriting after the initial URL rewriting; the WEB page file is responded by the WEB server according to the client access request; the processing module is used for matching the URL to be rewritten in the WEB page file according to the pre-configured rewriting configuration list and rewriting the URL to be rewritten in the matching rewriting configuration list into a target URL associated in the rewriting configuration list; the rewriting configuration list comprises URL fields to be rewritten and associated target URL fields; and the sending module is used for sending the rewritten WEB page file to the client equipment.
As a technical scheme, the rewriting configuration list is configured by using a browser debugging and packet capturing tool to position and rewrite a missed position; and the missed position is the URL position where the browser executes missed rewriting and/or error rewriting found in the WEB webpage file after the initial URL rewriting.
According to one technical scheme, the URL to be rewritten in the WEB page file is matched according to a pre-configured rewriting configuration list, and the URL to be rewritten of the matched rewriting configuration list is rewritten into a rewriting configuration list
Including: caching the segmented messages of the WEB page files sent in segments and inquiring
And if so, rewriting the URL to be rewritten into a target URL associated in a rewriting configuration list.
As a technical solution, the caching a segment message of a WEB page file sent in a segment, and querying whether a URL to be rewritten exists at a data connection point between the cached segment message and a next segment message includes: if not, the segmented message in the cache is cleared, and the next segmented message is cached.
The present disclosure also provides an electronic device, which includes a processor and a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions capable of being executed by the processor, and the processor executes the machine-executable instructions to implement the foregoing front-end file processing method.
The present disclosure also provides a machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned front-end file processing method.
The technical scheme provided by the disclosure at least brings the following beneficial effects:
through a pre-configured rewriting configuration list, the URL contained in the WEB page file after the initial URL rewriting is screened and compared again, and the URL field which is omitted or wrongly rewritten in the initial URL is rewritten and corrected, so that the rewriting accuracy of the WEB page file serving as a response file is improved.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments of the present disclosure or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present disclosure, and other drawings can be obtained by those skilled in the art according to the drawings of the embodiments of the present disclosure.
FIG. 1 is a flow diagram of a front-end document processing method in one embodiment of the present disclosure;
FIG. 2 is a block diagram of a front-end document processing device in one embodiment of the present disclosure;
fig. 3 is a hardware configuration diagram of an electronic device in an embodiment of the present disclosure.
Detailed Description
The terminology used in the embodiments of the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein is meant to encompass any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information in the embodiments of the present disclosure, such information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. Depending on the context, moreover, the word "if" as used may be interpreted as "at … …" or "when … …" or "in response to a determination".
The present disclosure provides a front-end file processing method, a front-end file processing device, an electronic device, and a machine-readable storage medium, so as to solve the problem that it is difficult for the gateway to correctly rewrite the rewritten response file.
The specific technical scheme is as follows.
In one embodiment, the present disclosure provides a front-end file processing method applied to a gateway, where the method includes: acquiring WEB page files with wrong and missed rewriting after the initial URL rewriting; the WEB page file is responded by the WEB server according to the client access request; according to a pre-configured rewriting configuration list, matching URLs to be rewritten in WEB page files, and rewriting the URLs to be rewritten in the matching rewriting configuration list into associated target URLs in the rewriting configuration list; the rewriting configuration list comprises URL fields to be rewritten and associated target URL fields; and sending the rewritten WEB webpage file to the client equipment.
Specifically, as shown in fig. 1, the method comprises the following steps:
and step S11, acquiring the WEB page file with wrong rewriting and missing rewriting after the initial URL rewriting.
Step S12, according to the pre-configured rewrite configuration list, matching the URL to be rewritten in the WEB page file, and rewriting the URL to be rewritten in the matching rewrite configuration list to the associated target URL in the rewrite configuration list.
And step S13, sending the rewritten WEB page file to the client device.
Through a pre-configured rewriting configuration list, the URL contained in the WEB page file after the initial URL rewriting is screened and compared again, and the URL field which is omitted or wrongly rewritten in the initial URL is rewritten and corrected, so that the rewriting accuracy of the WEB page file serving as a response file is improved.
In one embodiment, the rewriting configuration list is configured after a browser debugging and packet capturing tool is used for positioning and rewriting a missed position; and the missed position is the URL position where the browser executes missed rewriting and/or error rewriting found in the WEB webpage file after the initial URL rewriting.
In one embodiment, the URL to be rewritten in the WEB page file is matched according to a pre-configured rewriting configuration list, and the URL to be rewritten of the matched rewriting configuration list is rewritten into a rewriting configuration list
Including: caching the segmented messages of the WEB page files sent in segments and inquiring
And if so, rewriting the URL to be rewritten into a target URL associated in a rewriting configuration list.
In an embodiment, the caching segment messages of the WEB page file sent in segments, and querying whether a URL to be rewritten exists at a data connection point between the cached segment message and a next segment message includes: if not, the segmented message in the cache is cleared, and the next segmented message is cached.
In one embodiment, the rewriting strategy is configured, the correction is supplemented, and the quick repair can be realized, so that the user can correctly access the intranet webpage. When the problem of visiting the page occurs by using the initial URL rewriting, the wrong position of the webpage file is found by a developer tool of the browser or other package capturing tools, and then the technology is used for correcting.
For the file URL responded by the intranet WEB server with errors after the initial URL is rewritten, the SSL VPN gateway has a method for configuring a rewriting strategy, and corresponding modes are configured for different types of errors.
If the HTTP message header responded by the intranet WEB server carries the value of the Content-Type header and cannot correctly represent the Type of the message body, or the HTTP message header does not carry the value of the Content-Type header and the file extension cannot represent the Type of the message body, the file Type can be manually specified by adopting the method.
The files responded by the intranet WEB server are rewritten by the initial URL of the SSL VPN gateway and then forwarded to the browser, if the files are rewritten by omission or mistake, the browser can make mistakes when loading the page or operating the page by a user, the wrong position can be found by debugging or a bale plucking tool of the browser, the current character string and a new character string needing to be replaced are configured, the SSL VPN gateway is matched with the appointed current character string and is replaced by the new character string, and the WEB page file is repaired.
When the intranet WEB server replies the response, the request URL corresponding to the response is matched with the configured URL with the rewritten configuration, if the request URL is the same as the configured URL, the request URL is rewritten for the second time according to the rewritten configuration rule after the initial URL rewriting of the response message is finished.
In one embodiment, the rewritten content is directly forwarded to the browser after the initial URL rewriting, but if the rewriting rule is configured, the message needs to be rewritten twice. Therefore, the file after the initial URL rewriting cannot be directly transferred, and needs to be an input file for subsequent configuration rewriting.
For the rewriting processing of the same page file, a plurality of rewriting rules can be specified, that is, for the same data, a plurality of rules need to be searched, which is an application scenario of multi-pattern matching, and the case is processed by using an AC algorithm. Principle of replacing matching result: matching replacement is carried out firstly; and meanwhile, matching with long replacement pattern length is realized.
For the condition that the page file requested by the browser is large, the WEB server generally splits the file data of the WEB page file into a plurality of messages and responds the messages to the client, so that the SSL VPN gateway caches the message with the maximum matching length character string in the process of analyzing the response message of the server once, delays the output of the message, and avoids the situation that the message is already output without being replaced when the tail data of the current message and the data of the next message are combined to find a legal match.
In an embodiment, the present disclosure also provides a front-end file processing apparatus, as shown in fig. 2, applied to a gateway, the apparatus including: the acquiring module 21 is configured to acquire a WEB page file with a missed rewriting after the first URL is rewritten; the WEB page file is responded by the WEB server according to the client access request; the processing module 22 is configured to match the URL to be rewritten in the WEB page file according to the preconfigured rewrite configuration list, and rewrite the URL to be rewritten in the matched rewrite configuration list into a target URL associated in the rewrite configuration list; the rewriting configuration list comprises URL fields to be rewritten and associated target URL fields; and a sending module 23, configured to send the rewritten WEB page file to the client device.
In one embodiment, the rewriting configuration list is configured after a browser debugging and packet capturing tool is used for positioning and rewriting a missed position; and the missed position is the URL position where the browser executes missed rewriting and/or wrong rewriting found by the WEB webpage file after the initial URL rewriting.
In one embodiment, the URL to be rewritten in the WEB page file is matched according to a pre-configured rewriting configuration list, and the URL to be rewritten of the matched rewriting configuration list is rewritten into a rewriting configuration list
Including: caching the segmented messages of the WEB page files sent in segments and inquiring
And if so, rewriting the URL to be rewritten into a target URL associated in a rewriting configuration list.
In an embodiment, the caching segment messages of the WEB page file sent in segments, and querying whether a URL to be rewritten exists at a data connection point between the cached segment message and a next segment message includes: if not, the segmented message in the cache is cleared, and the next segmented message is cached.
The device embodiments are the same or similar to the corresponding method embodiments and are not described herein again.
In an embodiment, the present disclosure provides an electronic device, including a processor and a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions capable of being executed by the processor, and the processor executes the machine-executable instructions to implement the foregoing front-end file processing method, and from a hardware level, a schematic diagram of a hardware architecture may be as shown in fig. 3.
In one embodiment, the present disclosure provides a machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned front-end file processing method.
Here, a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and so forth. For example, the machine-readable storage medium may be: RAM (random Access Memory), volatile Memory, non-volatile Memory, flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
The systems, devices, modules or units described in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more pieces of software and/or hardware in practicing the disclosure.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Furthermore, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (which may include, but is not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an embodiment of the present disclosure, and is not intended to limit the present disclosure. Various modifications and variations of this disclosure will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure should be included in the scope of the claims of the present disclosure.

Claims (10)

1. A front-end file processing method is applied to a gateway, and comprises the following steps:
acquiring WEB page files with wrong and missed rewriting after the initial URL rewriting;
the WEB page file is responded by the WEB server according to the client access request;
according to a pre-configured rewriting configuration list, matching URLs to be rewritten in WEB page files, and rewriting the URLs to be rewritten in the matching rewriting configuration list into associated target URLs in the rewriting configuration list; the rewriting configuration list is configured after rewriting the position of the error and the leakage;
the rewriting configuration list comprises URL fields to be rewritten and associated target URL fields;
and sending the rewritten WEB webpage file to the client equipment.
2. The method of claim 1, wherein the list of rewritten configurations is configured after positioning a rewritten missed position by using a browser debugging and packet capturing tool;
and the missed position is the URL position where the browser executes missed rewriting and/or error rewriting found in the WEB webpage file after the initial URL rewriting.
3. The method of claim 1, wherein the matching the URL to be rewritten in the WEB page file according to the pre-configured rewrite configuration list and rewriting the URL to be rewritten in the matching rewrite configuration list to an associated target URL in the rewrite configuration list comprises:
caching the subsection message of the WEB webpage file sent by the subsection, inquiring whether the data connection part of the cached subsection message and the next subsection message has the URL to be rewritten, and if so, rewriting the URL to be rewritten into the associated target URL in the rewriting configuration list.
4. The method according to claim 3, wherein the caching the segment messages of the WEB page file sent in segments and inquiring whether the data connection part between the cached segment message and the next segment message has a URL to be rewritten comprises:
if not, the segmented message in the cache is cleared, and the next segmented message is cached.
5. A front-end file processing apparatus, applied to a gateway, the apparatus comprising:
the acquisition module is used for acquiring the WEB webpage files with wrong and missed rewriting after the initial URL rewriting;
the WEB page file is responded by the WEB server according to the client access request;
the processing module is used for matching the URL to be rewritten in the WEB page file according to the pre-configured rewriting configuration list and rewriting the URL to be rewritten in the matching rewriting configuration list into a target URL associated in the rewriting configuration list; the rewriting configuration list is configured after rewriting the position of the error and the leakage;
the rewriting configuration list comprises URL fields to be rewritten and associated target URL fields;
and the sending module is used for sending the rewritten WEB page file to the client equipment.
6. The apparatus of claim 5, wherein the list of rewrite configurations is configured by using a browser debugging and packet capturing tool to locate a rewrite miss location;
and the missed position is the URL position where the browser executes missed rewriting and/or error rewriting found in the WEB webpage file after the initial URL rewriting.
7. The apparatus of claim 5, wherein the matching the URL to be rewritten in the WEB page file according to the pre-configured rewrite configuration list and rewriting the URL to be rewritten in the matching rewrite configuration list to an associated target URL in the rewrite configuration list comprises:
caching the subsection message of the WEB webpage file sent by the subsection, inquiring whether the data connection part of the cached subsection message and the next subsection message has the URL to be rewritten, and if so, rewriting the URL to be rewritten into the associated target URL in the rewriting configuration list.
8. The apparatus according to claim 7, wherein the caching the segment packets of the WEB page file sent in segments, and querying whether the data connection between the cached segment packet and the next segment packet has a URL to be rewritten comprises:
if not, the segmented message in the cache is cleared, and the next segmented message is cached.
9. An electronic device, comprising: a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to perform the method of any one of claims 1 to 4.
10. A machine-readable storage medium having stored thereon machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any of claims 1-4.
CN202110334583.1A 2021-03-29 2021-03-29 Front-end file processing method, device, equipment and machine-readable storage medium Active CN113179251B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110334583.1A CN113179251B (en) 2021-03-29 2021-03-29 Front-end file processing method, device, equipment and machine-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110334583.1A CN113179251B (en) 2021-03-29 2021-03-29 Front-end file processing method, device, equipment and machine-readable storage medium

Publications (2)

Publication Number Publication Date
CN113179251A CN113179251A (en) 2021-07-27
CN113179251B true CN113179251B (en) 2022-05-27

Family

ID=76922541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110334583.1A Active CN113179251B (en) 2021-03-29 2021-03-29 Front-end file processing method, device, equipment and machine-readable storage medium

Country Status (1)

Country Link
CN (1) CN113179251B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157485A (en) * 2021-12-03 2022-03-08 北京天融信网络安全技术有限公司 Resource access method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132420A (en) * 2007-10-16 2008-02-27 杭州华三通信技术有限公司 Link overwriting method and device based on SSL VPN
CN101136834A (en) * 2007-10-19 2008-03-05 杭州华三通信技术有限公司 SSL VPN based link rewriting method and apparatus
CN101242336A (en) * 2008-03-13 2008-08-13 杭州华三通信技术有限公司 Method for remote access to intranet Web server and Web proxy server
CN101989909A (en) * 2009-08-04 2011-03-23 西安交大捷普网络科技有限公司 Access link overwriting method of SSL VPN

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020147929A1 (en) * 2001-04-10 2002-10-10 Rose Mark E. Access control for distributed content servers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132420A (en) * 2007-10-16 2008-02-27 杭州华三通信技术有限公司 Link overwriting method and device based on SSL VPN
CN101136834A (en) * 2007-10-19 2008-03-05 杭州华三通信技术有限公司 SSL VPN based link rewriting method and apparatus
CN101242336A (en) * 2008-03-13 2008-08-13 杭州华三通信技术有限公司 Method for remote access to intranet Web server and Web proxy server
CN101989909A (en) * 2009-08-04 2011-03-23 西安交大捷普网络科技有限公司 Access link overwriting method of SSL VPN

Also Published As

Publication number Publication date
CN113179251A (en) 2021-07-27

Similar Documents

Publication Publication Date Title
CN106936793B (en) Information interception processing method and terminal
US8819819B1 (en) Method and system for automatically obtaining webpage content in the presence of javascript
US9871850B1 (en) Enhanced browsing using CDN routing capabilities
EP2985705A2 (en) Webpage access method and apparatus, and router
CN110224996A (en) Network Access Method, device, computer equipment and the storage medium of application program
CN109842617A (en) Ad blocking method, apparatus and storage medium
CN108259425A (en) The determining method, apparatus and server of query-attack
GB2512954A (en) Detecting and marking client devices
CN109347892B (en) Internet industrial asset scanning processing method and device
CN105634660B (en) Data packet detection method and system
US9053114B1 (en) Extensible data path
CN104333548A (en) Method and system of accessing local services in https websites
US20170187731A1 (en) Information processing system, information processing method and program
US8789177B1 (en) Method and system for automatically obtaining web page content in the presence of redirects
CN108429785A (en) A kind of generation method, reptile recognition methods and the device of reptile identification encryption string
JP2017532615A (en) Cloud suffix proxy and method
CN111064804A (en) Network access method and device
CN113179251B (en) Front-end file processing method, device, equipment and machine-readable storage medium
CN106878311B (en) HTTP message rewriting method and device
CN110233902B (en) Session processing method and device, electronic equipment and machine-readable storage medium
CN109561172B (en) DNS transparent proxy method, device, equipment and storage medium
CN107786489A (en) Access request verification method and device
US11811806B2 (en) System and apparatus for internet traffic inspection via localized DNS caching
WO2022036833A1 (en) Cookie management method, intermediate node, and webvpn system
US7650392B1 (en) Dynamic content processing in a reverse proxy service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant