A browser-based web access method and device
An access method and browser technology, applied in the field of network security, can solve the problems of poor new threat awareness, inconvenient hardware deployment, and complex expansion and expansion.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] Please see figure 1 , figure 1 A schematic flowchart of a browser-based web access method is provided for the embodiment of the present application. Wherein, the browser-based web access method includes:
[0052] S101. Detect an access URL input by a user in a browser.
[0053]In this embodiment, before the step of detecting the access URL input by the user in the browser, the method also includes:
[0054] Set a dedicated PAC URL matching the customer information in the browser's PAC configuration;
[0055] Download local PAC scripts via dedicated PAC URL.
[0056] In this embodiment, the method can pre-configure a dedicated PAC script for each client in the PAC server, and the script includes the following FindProxyForURL function (i.e. the subsequent proxy lookup function):
[0057] function FindProxyForURL(url, host)
[0058] {
[0059] IPcode = dnsResolve(host+'..pac.onedns.net');
[0060] switch(IPcode) {
[0061] case '127.255.0.1':
[0062] return "PROXY...
Embodiment approach
[0076] As an optional implementation, the method also includes:
[0077] When the local PAC script does not exist or the local PAC script is not the latest version, download the latest PAC script through the dedicated PAC URL, update the local PAC script according to the latest PAC script, and execute step S103.
[0078] In this embodiment, when the user enters the visited URL in the browser, the browser will automatically determine whether the local PAC script exists or has been updated. If it does not exist or has been updated, it will request the latest PAC script from the PAC server according to the configured PAC URL, obtain the latest PAC script from the PAC server and save it locally.
[0079] S103, parse out the host from the access URL.
[0080] S104. According to the proxy lookup function in the local PAC script, sequence the host, user information and domain name of the DNS authoritative server to obtain a proxy lookup instruction.
[0081] In this embodiment, the...
Embodiment 2
[0168] Please see figure 2 , figure 2 It is a schematic structural diagram of a browser-based web access device provided by the embodiment of the present application. Such as figure 2 As shown, the browser-based web access device includes:
[0169] A detection unit 210, configured to detect the access URL input by the user in the browser;
[0170] Judging unit 220, used to judge whether the local PAC script exists and is the latest version;
[0171] Parsing unit 230, used for parsing out host from the access URL when the local PAC script exists and is the latest version;
[0172] The construction unit 240 is used to construct a proxy search instruction through the domain name of the host, user information, DNS authoritative server and the proxy search function in the local PAC script;
[0173] The sending unit 250 is configured to send the proxy lookup command to the DNS authoritative server, so that the DNS authoritative server performs domain name quer...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


