CN103209414B - A kind of method, device and mobile terminal of controlling web page access - Google Patents

A kind of method, device and mobile terminal of controlling web page access Download PDF

Info

Publication number
CN103209414B
CN103209414B CN201210011378.2A CN201210011378A CN103209414B CN 103209414 B CN103209414 B CN 103209414B CN 201210011378 A CN201210011378 A CN 201210011378A CN 103209414 B CN103209414 B CN 103209414B
Authority
CN
China
Prior art keywords
visited
webpage
network address
safety detection
resource
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
CN201210011378.2A
Other languages
Chinese (zh)
Other versions
CN103209414A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210011378.2A priority Critical patent/CN103209414B/en
Publication of CN103209414A publication Critical patent/CN103209414A/en
Application granted granted Critical
Publication of CN103209414B publication Critical patent/CN103209414B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method, device and mobile terminal of controlling web page access, belong to information security field. The invention provides a kind of method, device and mobile terminal that carries out web page access control in mobile terminal, by the different pattern that is set to control web page access by mobile terminal, and treat accessed web page according to different protection modes and carry out safety detection, access webpage to be visited according to testing result, can make security and access speed reach good proportioning, and can meet the various demands of different user to access to netwoks.

Description

A kind of method, device and mobile terminal of controlling web page access
Technical field
The present invention relates to information security field, particularly a kind of method, device and mobile terminal of controlling web page access.
Background technology
Along with the development of network, various viral wooden horses spread unchecked, in the time that user passes through browser access website, and the general resolution institute that is difficult toWhether the website of access has wooden horse or virus.
In existing situation, user is the safety problem that solves web page access by fire wall is installed in host side, is oneThe equipment of information security is guaranteed in assistance, can be according to specific rule, and allow or limit the data of transmitting and pass through. Fire wall canThat an exclusive hardware can be also a set of software being erected in typical hardware. Fire wall can detect web page resources,In the time finding that webpage comprises virus or wooden horse, entering of forbidden data.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
In prior art, in the access control of webpage, all webpages are carried out to same processing, need first by owning in webpageAfter data scanning, could determine whether safety of webpage, and current fire wall only exist with PC on, the mobile terminals such as mobile phoneDo not having effective network protection method, and current access control method is lower for the poor user security degree of awareness of safety,Lack the personalization to different user.
Summary of the invention
In order to solve problems of the prior art, the embodiment of the present invention provides a kind of method, device of controlling web page accessAnd mobile terminal. Described technical scheme is as follows:
Control a method for web page access, described method comprises:
Obtain the network address of webpage to be visited;
According to the network address of described webpage to be visited, according to the protection mode of user preset, described webpage to be visited is carried out to safety detection;Wherein, the protection mode of described user preset comprises: any in common protection mode, strict protection mode and proxy mode,Described common protection mode, described strict protection mode and safe coefficient corresponding to described proxy mode raise successively, described commonProtection mode, described strict protection mode and access speed corresponding to described proxy mode reduce successively;
According to the result of described safety detection, access described webpage to be visited;
Wherein, described according to the network address of described webpage to be visited, according to the protection mode of user preset, described webpage to be visited is enteredRow safety detection, comprising:
If the protection mode of described user preset is described common protection mode,, according to the network address of described webpage to be visited, obtainGet the resource of described webpage to be visited, and described webpage to be visited is carried out to safety detection simultaneously, export described webpage to be visitedHarmful grade;
If the protection mode of described user preset is described strict protection mode, described webpage to be visited is carried out to safety detection,Export the harmful grade of described webpage to be visited; If the harmful grade of described webpage to be visited is during lower than default harmful grade,Obtain the resource of described webpage to be visited; If the harmful grade of described webpage to be visited reaches or higher than described default dangerWhen rank, send dangerous tip information, and stop obtaining of resource to described webpage to be visited;
If the protection mode of described user preset is described proxy mode, the network address of described webpage to be visited is sent to agencyServer, makes described proxy server carry out safety detection according to the network address of described webpage to be visited to described webpage to be visited; AsThe described proxy server of fruit detects that described webpage to be visited is lower than default harmful grade, receives that described proxy server returnsThe resource of described webpage to be visited.
Further, described described webpage to be visited is carried out to safety detection, comprising:
Judge the network address that whether includes described webpage to be visited in the list resource that list Resource Server issues;
If judged result is yes, from described list resource, read the harmful grade of described webpage to be visited;
If judged result is no, the dynamic list of preserving by this locality carries out safety detection to described webpage to be visited.
Further, the described dynamic list of preserving by this locality carries out safety detection to described webpage to be visited, comprising:
Judge the network address that whether comprises described webpage to be visited in the described local dynamic list of preserving;
If judged result is yes, from described dynamic list, read the harmful grade of described webpage to be visited;
If judged result is no, forward the network address of described webpage to be visited to security centre by background server, and in instituteState security centre described webpage to be visited is carried out after safety detection, receive described security centre by described background server and returnThe harmful grade of described webpage to be visited, the harmful grade of described webpage to be visited is kept in described dynamic list.
Further, describedly judge the net that whether includes described webpage to be visited in the list resource that list Resource Server issuesBefore location, described method also comprises:
In the time that the list resource of preserving in described list Resource Server has renewal, receive described list Resource Server and send moreList resource after new.
Further, described in obtain the network address of webpage to be visited after, described method also comprises:
Send the network address of described webpage to be visited to security centre, so that described security centre collects network address and carries out safety detection,Form list resource.
Control a device for web page access, described device comprises:
Network address acquisition module, for obtaining the network address of webpage to be visited;
Safety detection module, for according to the network address of described webpage to be visited, visits described waiting according to the protection mode of user presetAsk that webpage carries out safety detection; Wherein, the protection mode of described user preset comprises: common protection mode, strict protection modeWith any in proxy mode, described common protection mode, described strict protection mode and safety corresponding to described proxy modeDegree raises successively, and access speed corresponding to described common protection mode, described strict protection mode and described proxy mode successivelyReduce;
Access modules, for according to the result of described safety detection, accesses described webpage to be visited;
Described safety detection module, comprising: the first acquiring unit, if be described general for the protection mode of described user presetLogical protection mode, according to the network address of described webpage to be visited, obtains the resource of described webpage to be visited; The first detecting unit,For described webpage to be visited being carried out to safe inspection when described the first acquiring unit is obtained the resource of described webpage to be visitedSurvey, export the harmful grade of described webpage to be visited; Or,
Described safety detection module comprises: the second detecting unit, if be described strict for the protection mode of described user presetProtection mode, carries out safety detection to described webpage to be visited, exports the harmful grade of described webpage to be visited; Second obtainsUnit,, obtains during lower than default harmful grade for the harmful grade that obtains described webpage to be visited when described the second detecting unitGet the resource of described webpage to be visited; First stops unit, for obtain described webpage to be visited when described the second detecting unitHarmful grade reaches or during higher than described default harmful grade, sends dangerous tip information, and stop described webpage to be visitedThe obtaining of resource; Or,
Described safety detection module, comprising: the first transmitting element, if for the protection mode of described user preset for acting on behalf of mouldFormula, is sent to proxy server by the network address of described webpage to be visited, makes described proxy server according to described webpage to be visitedNetwork address described webpage to be visited is carried out to safety detection; The 3rd acquiring unit, described in detecting when described proxy serverWebpage to be visited is during lower than default harmful grade, receives the resource of the described webpage to be visited that described proxy server returns.
Further, described safety detection module is carried out safety detection to described webpage to be visited, comprising:
Judge the network address that whether includes described webpage to be visited in the list resource that list Resource Server issues;
If judged result is yes, from described list resource, read the harmful grade of described webpage to be visited;
If judged result is no, the dynamic list of preserving by this locality carries out safety detection to described webpage to be visited.
Further, the dynamic list that described safety detection module is preserved by this locality carries out safety detection to described webpage to be visited,Comprise:
Judge the network address that whether comprises described webpage to be visited in the described local dynamic list of preserving;
If judged result is yes, from described dynamic list, read the harmful grade of described webpage to be visited;
If judged result is no, forward the network address of described webpage to be visited to security centre by background server, and in instituteState security centre described webpage to be visited is carried out after safety detection, receive described security centre by described background server and returnThe harmful grade of described webpage to be visited, the harmful grade of described webpage to be visited is kept in described dynamic list.
Further, described device also comprises:
List receiver module, for judging in described safety detection module whether the list resource that list Resource Server issues wrapsBefore the network address that contains described webpage to be visited, in the time that the list resource of preserving in described list Resource Server has renewal, receiveList resource after the renewal that described list Resource Server sends.
Further, described device also comprises:
Network address sending module, for after described network address acquisition module obtains the network address of webpage to be visited, sends to security centreThe network address of described webpage to be visited, so that described security centre collects network address and carries out safety detection, forms list resource.
A kind of mobile terminal, described mobile terminal comprises the device of above-mentioned arbitrary control web page access.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is: the invention provides one and carry out in mobile terminalMethod, device and the mobile terminal of web page access control, by the different mould that is set to control web page access by mobile terminalFormula, and treat accessed web page according to different protection modes and carry out safety detection, access webpage to be visited according to testing result, canTo make security and access speed reach good proportioning, and can meet the various demands of different user to access to netwoks.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, attached by required use during embodiment is described belowFigure is briefly described, and apparently, the accompanying drawing in the following describes is only some embodiments of the present invention, for this areaThose of ordinary skill, is not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of a kind of method of controlling web page access of providing in the embodiment of the present invention 1;
Fig. 2 is the schematic flow sheet of a kind of method of controlling web page access of providing in the embodiment of the present invention 2;
Fig. 3 be in the embodiment of the present invention 2, provide user terminal is carried out to the access control of webpage time relation of equipment;
Fig. 4 is the first structural representation of a kind of device of controlling web page access of providing in the embodiment of the present invention 3;
Fig. 5 is the first knot of the safety detection module in a kind of device of controlling web page access providing in the embodiment of the present invention 3Structure schematic diagram;
Fig. 6 is the second knot of the safety detection module in a kind of device of controlling web page access providing in the embodiment of the present invention 3Structure schematic diagram;
Fig. 7 is the third knot of the safety detection module in a kind of device of controlling web page access providing in the embodiment of the present invention 3Structure schematic diagram;
Fig. 8 is the second structural representation of a kind of device of controlling web page access of providing in the embodiment of the present invention 3;
Fig. 9 is the third structural representation of a kind of device of controlling web page access of providing in the embodiment of the present invention 3.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment of the present invention do intoOne step ground is described in detail.
Embodiment 1
As shown in Figure 1, the embodiment of the present invention 1 provides a kind of method of controlling web page access, specifically comprises the steps:
101, obtain the network address of webpage to be visited;
102,, according to the address of webpage to be visited, treat accessed web page according to default protection mode and carry out safety detection;
103,, according to the result of above-mentioned safety detection, access webpage to be visited.
The present embodiment provides a kind of method of controlling web page access, by being set to not control web page access by mobile terminalSame pattern, and treat accessed web page according to different protection modes and carry out safety detection, net to be visited accessed according to testing resultPage, can make security and access speed reach good proportioning, and can meet the various need of different user to access to netwoksAsk.
Embodiment 2
The embodiment of the present invention provides a kind of method of controlling web page access, and the method can be applied to various mobile terminals, as flatPlate computer, mobile phone etc., in the present embodiment, use mobile phone access webpage to describe as example taking user, concrete subject of implementationCan be for being installed on fire wall or the browser on mobile phone.
As shown in Figure 2, said method specifically comprises:
201, receive the network address of the webpage to be visited of user's input;
202, judge the protection mode of user preset, if default protection mode is common protection mode, execution step 203,If default protection mode is strict protection mode, execution step 204, if the protection mode of budget is proxy mode, holdsRow step 207;
It should be noted that, in the present invention, what user was controlled to web page access is set to multiple mould according to security protection degreeFormula manages. User can need to be preset as protection mode common protection mode, strict protection mode and act on behalf of mould according to selfFormula. Under these three kinds of patterns, the operation difference of the accessed web page of execution, can make the security difference of access process, access speedSpend also not identically, and the safe coefficient of these three kinds of patterns raises successively, and the degree of safety of strict protection mode is higher than common protection mode,The degree of safety of proxy mode is higher than strict protection mode.
For example, in the time of the higher large-scale portal website of the frequent access security of user, poisoning probability is lower, can protection mode is pre-Be made as common protection mode, to improve access speed; In the time that user accesses unknown website, protection mode can be preset as and act on behalf of mouldFormula, to increase security.
203, obtain the resource of webpage to be visited, and treat accessed web page simultaneously and carry out safety detection, execution step 211;
204, treat accessed web page and carry out safety detection, export the harmful grade of webpage to be visited, and perform step 205;
Whether the harmful grade that 205, judges above-mentioned webpage to be visited reaches default harmful grade is excessive risk, if so, carries outStep 206, if not, execution step 211;
It should be noted that, in the present embodiment, for the safe coefficient of presentation web page, can establish for the harmful grade of webpageBe set to: safety, medium to low-risk, excessive risk, below all with.
Particularly, in the present embodiment, default harmful grade can be according to user the reality to safe web page degree and/or access speedBorder need to be set, for example: in the time that user is higher to the demand of webpage access speed, can preset harmful grade is excessive risk,In the time detecting that harmful grade to be visited is excessive risk, determine that the harmful grade of webpage to be visited reaches or higher than default dangerDanger rank; When detecting that harmful grade to be visited is safety or medium to low-risk, work as the harmful grade of accessed web page lower than defaultHarmful grade.
206, send dangerous tip information to user, and stop treating the obtaining of resource of accessed web page;
In the present embodiment, what step 206 was concrete can be: use excessive risk prompting to cover the page to be visited, stop userFurther browse.
Wherein, send dangerous tip information to user, operable another kind of method is:
Increase icon (icon) in order to export the harmful grade of webpage to be visited at the address field of user's browser.
207, proxy server obtains the resource of webpage to be visited, and the resource for the treatment of accessed web page carries out safety detection, and carries outStep 208;
208, proxy server judges whether the harmful grade of webpage to be visited has reached default harmful grade, if so, carries outStep 209, if not, execution step 210;
Particularly, with in step 205, in the time that harmful grade to be visited is excessive risk, work as the harmful grade quilt of accessed web pageAssert and reach or higher than default harmful grade; When harmful grade to be visited is safety or medium to low-risk, when accessed web pageHarmful grade is lower than default harmful grade.
209, the harmful grade that proxy server sends webpage to be visited to user terminal is high risk prompting;
210, proxy server sends the resource of webpage to be visited to user terminal;
211, obtain the resource of webpage to be visited, and represent webpage to be visited.
It should be noted that, in the present embodiment, the user terminal in above steps or proxy server are treated accessed web page and are enteredRow safety detection, the method using is identical, comprises the steps:
A, judge the network address that whether includes above-mentioned webpage to be visited in the list resource that list Resource Server issues, if so,Execution step B, if not, execution step C;
It should be noted that, as shown in Figure 3, in the time that mobile terminal is carried out to the access control of webpage, need to use list serviceThe support of device and security centre, wherein, name Single-Server is for storing the list resource synchronous from security centre, in list resourceIn store network address and harmful grade corresponding to network address, security centre is for collecting network address statistics or detecting that to obtain network address correspondingHarmful grade is to obtain list resource.
Further, the network address of webpage to be visited that security centre also sends for receiving user, is convenient to security centre and collects network addressAnd carry out safety detection, form list resource.
Further, before judging and whether including the network address of webpage to be visited in the list resource that list Resource Server issues,This method also comprises:
In the time that the list resource of preserving in list Resource Server has renewal, the name after the renewal that reception list Resource Server sendsSingle resource.
It should be noted that, in the time that user networks for the first time, terminal can pull list resource once in list Resource Server,After landfall process in, do not need to pull again list resource, when only the list resource in list Resource Server has renewal,Just carry out the renewal of list resource.
B, in list resource, read the harmful grade of webpage to be visited;
C, judge the network address that whether comprises webpage to be visited in the dynamic list of preserving in terminal, if so, execution step D, asFruit not, performs step E;
Wherein, dynamic list be kept in user terminal for the interim list of preserving network address and harmful grade corresponding to network address.
D, in dynamic list, read the harmful grade of webpage to be visited;
E, forward the network address of webpage to be visited to security centre by background server, and perform step F;
Wherein, background server is the interface of user terminal and security centre.
F, security centre treat accessed web page and carry out safety detection, and return to webpage to be visited by background server to user terminalHarmful grade, execution step G;
Network address and the harmful grade of the webpage to be visited that G, user terminal return to security centre are kept in dynamic list.
Further, after step G, can also comprise:
Arriving after the default time, the harmful grade of the webpage to be visited in dynamic list is deleted. For example,, at user terminalPreserve the harmful grade of webpage to be visited after one day, the harmful grade of webpage to be visited is deleted.
The present embodiment provides a kind of method of controlling web page access, by being set to not control web page access by mobile terminalSame pattern, and treat accessed web page according to different protection modes and carry out safety detection, net to be visited accessed according to testing resultPage, can make security and access speed reach good proportioning, and can meet the various need of different user to access to netwoksAsk.
Embodiment 3
The present embodiment provides a kind of device of controlling web page access, and this device can be corresponding to the application journey being installed on mobile terminalOrder, as browser or fire wall etc., and is not subject to the platform constraints of mobile terminal.
As shown in Figure 4, this device comprises:
Network address acquisition module 301, for obtaining the network address of webpage to be visited;
Safety detection module 302, for according to the network address of webpage to be visited, treats accessed web page according to default protection mode and entersRow safety detection;
Access modules 303, for according to the result of above-mentioned safety detection, accesses webpage to be visited.
Further, default protection mode comprises: any in common protection mode, strict protection mode and proxy mode.
It should be noted that, in the present invention, what user was controlled to web page access is set to multiple mould according to security protection degreeFormula manages. User can need to be preset as protection mode common protection mode, strict protection mode and act on behalf of mould according to selfFormula. Under these three kinds of patterns, the operation difference of the accessed web page of execution, can make the security difference of access process, access speedSpend also not identically, and the safe coefficient of these three kinds of patterns raises successively, and the degree of safety of strict protection mode is higher than common protection mode,The degree of safety of proxy mode is higher than strict protection mode.
For example, in the time of the higher large-scale portal website of the frequent access security of user, poisoning probability is lower, can protection mode is pre-Be made as common protection mode, to improve access speed; In the time that user accesses unknown website, protection mode can be preset as and act on behalf of mouldFormula, to increase security.
Further, as shown in Figure 5, if default protection mode is common protection mode, safety detection module 302,Comprise:
The first acquiring unit 3021, for according to the network address of webpage to be visited, obtains the resource of webpage to be visited;
The first detecting unit 3022, for when the first acquiring unit 3021 is obtained the resource of webpage to be visited to be visitedWebpage carries out safety detection, exports the harmful grade of webpage to be visited.
It should be noted that, in the present embodiment, for the safe coefficient of presentation web page, can establish for the harmful grade of webpageBe set to: safety, medium to low-risk, excessive risk, below all with.
Particularly, in the present embodiment, default harmful grade can be according to user the reality to safe web page degree and/or access speedBorder need to be set, for example: in the time that user is higher to the demand of webpage access speed, can preset harmful grade is excessive risk,In the time detecting that harmful grade to be visited is excessive risk, determine that the harmful grade of webpage to be visited reaches or higher than default dangerDanger rank; When detecting that harmful grade to be visited is safety or medium to low-risk, work as the harmful grade of accessed web page lower than defaultHarmful grade.
Further, as shown in Figure 6, if default protection mode is strict protection mode, safety detection module 302 is wrappedDraw together:
The second detecting unit 3023, carries out safety detection for treating accessed web page, exports the harmful grade of webpage to be visited;
Second acquisition unit 3024, for the harmful grade that obtains webpage to be visited when the second detecting unit 3023 lower than defaultWhen harmful grade, obtain the resource of webpage to be visited;
First stops unit 3025, for the harmful grade that obtains webpage to be visited when the second detecting unit 3023 reach or higher thanWhen default harmful grade, send dangerous tip information, and stop treating the obtaining of resource of accessed web page.
Wherein, first stops unit 3025 to send dangerous tip information, and stops treating the obtaining of resource of accessed web page, concreteCan, for using excessive risk prompting to cover the page to be visited, stop user further to browse.
Further, send dangerous tip information to user, operable another kind of method is:
Increase icon (icon) in order to export the harmful grade of webpage to be visited at the address field of user's browser.
Further, as shown in Figure 7, if default protection mode is proxy mode, safety detection module 302, comprising:
The first transmitting element 3026, for the network address of webpage to be visited is sent to proxy server, makes proxy server according to treatingThe network address of accessed web page is treated accessed web page and is carried out safety detection;
The 3rd acquiring unit 3027, when webpage to be visited detected lower than default harmful grade when proxy server, receivesThe resource of the webpage to be visited that proxy server returns.
Further, above-mentioned safety detection module 302 is treated accessed web page and is carried out safety detection, comprising:
Judge the network address that whether includes webpage to be visited in the list resource that list Resource Server issues;
If judged result is yes, from list resource, read the harmful grade of webpage to be visited;
If judged result is no, the dynamic list of preserving by this locality is treated accessed web page and is carried out safety detection.
It should be noted that, in the time that mobile terminal is carried out to the access control of webpage, need to use name Single-Server and security centreSupport, wherein, name Single-Server for storing the list resource synchronous from security centre, stores network address in list resourceThe harmful grade corresponding with network address, security centre obtains harmful grade corresponding to network address to obtain for collecting network address statistics or detectingTo list resource.
Further, the dynamic list that above-mentioned safety detection module 302 is preserved by this locality is treated accessed web page and is carried out safety detection,Comprise:
Judge the network address that whether comprises webpage to be visited in the local dynamic list of preserving;
If judged result is yes, from dynamic list, read the harmful grade of webpage to be visited;
If judged result is no, forward the network address of webpage to be visited to security centre by background server, and in safetyThe heart is treated accessed web page and is carried out after safety detection, receives the hazard class of the webpage to be visited that security centre returns by background serverNot, the harmful grade of webpage to be visited is kept in dynamic list.
Further, as shown in Figure 8, said apparatus also comprises:
List receiver module 304, for judging that in safety detection module 302 the list resource that list Resource Server issues isBefore the no network address that includes webpage to be visited, in the time that the list resource of preserving in list Resource Server has renewal, receive listList resource after the renewal that Resource Server sends.
It should be noted that, in the time that user networks for the first time, list receiver module 304 can pull name in list Resource ServerSingle resource once, after landfall process in, do not need to pull again list resource, the list in list Resource ServerWhen resource has renewal, just carry out the renewal of list resource.
Further, as shown in Figure 9, said apparatus also comprises:
Network address sending module 305, for after network address acquisition module 301 obtains the network address of webpage to be visited, to security centreSend the network address of webpage to be visited, so that security centre collects network address and carries out safety detection, form list resource.
The present embodiment provides a kind of device of controlling web page access, by being set to not control web page access by mobile terminalSame pattern, and treat accessed web page according to different protection modes and carry out safety detection, net to be visited accessed according to testing resultPage, can make security and access speed reach good proportioning, and can meet the various need of different user to access to netwoksAsk.
In addition, the present invention also provides a kind of mobile terminal, and this mobile terminal comprises the device of above-mentioned control web page access.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware,Also can carry out the hardware that instruction is relevant by program and complete, described program can be stored in a kind of computer-readable recording medium,The above-mentioned storage medium of mentioning can be read-only storage, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all the spirit and principles in the present invention itIn, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (11)

1. a method of controlling web page access, is characterized in that, described method comprises:
Obtain the network address of webpage to be visited;
According to the network address of described webpage to be visited, according to the protection mode of user preset, described webpage to be visited is carried out to safety detection;Wherein, the protection mode of described user preset comprises: any in common protection mode, strict protection mode and proxy mode,Described common protection mode, described strict protection mode and safe coefficient corresponding to described proxy mode raise successively, described commonProtection mode, described strict protection mode and access speed corresponding to described proxy mode reduce successively;
According to the result of described safety detection, access described webpage to be visited;
Wherein, described according to the network address of described webpage to be visited, according to the protection mode of user preset, described webpage to be visited is enteredRow safety detection, comprising:
If the protection mode of described user preset is described common protection mode,, according to the network address of described webpage to be visited, obtainGet the resource of described webpage to be visited, and described webpage to be visited is carried out to safety detection simultaneously, export described webpage to be visitedHarmful grade;
If the protection mode of described user preset is described strict protection mode, described webpage to be visited is carried out to safety detection,Export the harmful grade of described webpage to be visited; If the harmful grade of described webpage to be visited is during lower than default harmful grade,Obtain the resource of described webpage to be visited; If the harmful grade of described webpage to be visited reaches or higher than described default dangerWhen rank, send dangerous tip information, and stop obtaining of resource to described webpage to be visited;
If the protection mode of described user preset is described proxy mode, the network address of described webpage to be visited is sent to agencyServer, makes described proxy server carry out safety detection according to the network address of described webpage to be visited to described webpage to be visited; AsThe described proxy server of fruit detects that described webpage to be visited is lower than default harmful grade, receives that described proxy server returnsThe resource of described webpage to be visited.
2. method according to claim 1, is characterized in that, described described webpage to be visited is carried out to safety detection, bagDraw together:
Judge the network address that whether includes described webpage to be visited in the list resource that list Resource Server issues;
If judged result is yes, from described list resource, read the harmful grade of described webpage to be visited;
If judged result is no, the dynamic list of preserving by this locality carries out safety detection to described webpage to be visited.
3. method according to claim 2, is characterized in that, the described dynamic list of preserving by this locality is visited described waitingAsk that webpage carries out safety detection, comprising:
Judge the network address that whether comprises described webpage to be visited in the described local dynamic list of preserving;
If judged result is yes, from described dynamic list, read the harmful grade of described webpage to be visited;
If judged result is no, forward the network address of described webpage to be visited to security centre by background server, and in instituteState security centre described webpage to be visited is carried out after safety detection, receive described security centre by described background server and returnThe harmful grade of described webpage to be visited, the harmful grade of described webpage to be visited is kept in described dynamic list.
4. method according to claim 2, is characterized in that, the list resource that described judgement list Resource Server issuesIn whether include the network address of described webpage to be visited before, described method also comprises:
In the time that the list resource of preserving in described list Resource Server has renewal, receive described list Resource Server and send moreList resource after new.
5. method according to claim 1, is characterized in that, described in obtain the network address of webpage to be visited after, described sideMethod also comprises:
Send the network address of described webpage to be visited to security centre, so that described security centre collects network address and carries out safety detection,Form list resource.
6. a device of controlling web page access, is characterized in that, described device comprises:
Network address acquisition module, for obtaining the network address of webpage to be visited;
Safety detection module, for according to the network address of described webpage to be visited, visits described waiting according to the protection mode of user presetAsk that webpage carries out safety detection; Wherein, the protection mode of described user preset comprises: common protection mode, strict protection modeWith any in proxy mode, described common protection mode, described strict protection mode and safety corresponding to described proxy modeDegree raises successively, and access speed corresponding to described common protection mode, described strict protection mode and described proxy mode successivelyReduce;
Access modules, for according to the result of described safety detection, accesses described webpage to be visited;
Described safety detection module, comprising: the first acquiring unit, if be described general for the protection mode of described user presetLogical protection mode, according to the network address of described webpage to be visited, obtains the resource of described webpage to be visited; The first detecting unit,For described webpage to be visited being carried out to safe inspection when described the first acquiring unit is obtained the resource of described webpage to be visitedSurvey, export the harmful grade of described webpage to be visited; Or,
Described safety detection module comprises: the second detecting unit, if be described strict for the protection mode of described user presetProtection mode, carries out safety detection to described webpage to be visited, exports the harmful grade of described webpage to be visited; Second obtainsUnit,, obtains during lower than default harmful grade for the harmful grade that obtains described webpage to be visited when described the second detecting unitGet the resource of described webpage to be visited; First stops unit, for obtain described webpage to be visited when described the second detecting unitHarmful grade reaches or during higher than described default harmful grade, sends dangerous tip information, and stop described webpage to be visitedThe obtaining of resource; Or,
Described safety detection module, comprising: the first transmitting element, if for the protection mode of described user preset for acting on behalf of mouldFormula, is sent to proxy server by the network address of described webpage to be visited, makes described proxy server according to described webpage to be visitedNetwork address described webpage to be visited is carried out to safety detection; The 3rd acquiring unit, described in detecting when described proxy serverWebpage to be visited is during lower than default harmful grade, receives the resource of the described webpage to be visited that described proxy server returns.
7. device according to claim 6, is characterized in that, described safety detection module is carried out described webpage to be visitedSafety detection, comprising:
Judge the network address that whether includes described webpage to be visited in the list resource that list Resource Server issues;
If judged result is yes, from described list resource, read the harmful grade of described webpage to be visited;
If judged result is no, the dynamic list of preserving by this locality carries out safety detection to described webpage to be visited.
8. device according to claim 7, is characterized in that, the dynamic name that described safety detection module is preserved by this localityList carries out safety detection to described webpage to be visited, comprising:
Judge the network address that whether comprises described webpage to be visited in the described local dynamic list of preserving;
If judged result is yes, from described dynamic list, read the harmful grade of described webpage to be visited;
If judged result is no, forward the network address of described webpage to be visited to security centre by background server, and in instituteState security centre described webpage to be visited is carried out after safety detection, receive described security centre by described background server and returnThe harmful grade of described webpage to be visited, the harmful grade of described webpage to be visited is kept in described dynamic list.
9. device according to claim 7, is characterized in that, described device also comprises:
List receiver module, for judging in described safety detection module whether the list resource that list Resource Server issues wrapsBefore the network address that contains described webpage to be visited, in the time that the list resource of preserving in described list Resource Server has renewal, receiveList resource after the renewal that described list Resource Server sends.
10. device according to claim 6, is characterized in that, described device also comprises:
Network address sending module, for after described network address acquisition module obtains the network address of webpage to be visited, sends to security centreThe network address of described webpage to be visited, so that described security centre collects network address and carries out safety detection, forms list resource.
11. 1 kinds of mobile terminals, is characterized in that, described mobile terminal comprises the control as described in claim 6-10 any oneThe device of web page access.
CN201210011378.2A 2012-01-13 2012-01-13 A kind of method, device and mobile terminal of controlling web page access Active CN103209414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210011378.2A CN103209414B (en) 2012-01-13 2012-01-13 A kind of method, device and mobile terminal of controlling web page access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210011378.2A CN103209414B (en) 2012-01-13 2012-01-13 A kind of method, device and mobile terminal of controlling web page access

Publications (2)

Publication Number Publication Date
CN103209414A CN103209414A (en) 2013-07-17
CN103209414B true CN103209414B (en) 2016-05-11

Family

ID=48756469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210011378.2A Active CN103209414B (en) 2012-01-13 2012-01-13 A kind of method, device and mobile terminal of controlling web page access

Country Status (1)

Country Link
CN (1) CN103209414B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997487A (en) * 2014-05-04 2014-08-20 绿网天下(福建)网络科技有限公司 Safe network-surfing isolation method based on browser
CN105991580B (en) * 2015-02-12 2019-09-17 腾讯科技(深圳)有限公司 Network address safety detection method and device
CN110336805B (en) * 2019-06-27 2022-02-08 维沃移动通信有限公司 Network access management method and mobile terminal
CN113596048B (en) * 2021-08-04 2023-05-26 荆亮 Firewall maintenance network method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009109118A1 (en) * 2008-02-29 2009-09-11 华为技术有限公司 Access control method of a terminal, network equipment and system
CN101720066A (en) * 2009-11-26 2010-06-02 北京蓝珀通信技术有限公司 3G green gateway for ensuring secure Internet access of mobile phone and service method for secure Internet access of mobile phone
CN101917404A (en) * 2010-07-15 2010-12-15 优视科技有限公司 Safety defense method for browser of mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009109118A1 (en) * 2008-02-29 2009-09-11 华为技术有限公司 Access control method of a terminal, network equipment and system
CN101720066A (en) * 2009-11-26 2010-06-02 北京蓝珀通信技术有限公司 3G green gateway for ensuring secure Internet access of mobile phone and service method for secure Internet access of mobile phone
CN101917404A (en) * 2010-07-15 2010-12-15 优视科技有限公司 Safety defense method for browser of mobile terminal

Also Published As

Publication number Publication date
CN103209414A (en) 2013-07-17

Similar Documents

Publication Publication Date Title
CN107256195B (en) Webpage front-end test method and device
US10848511B2 (en) Method and apparatus for identifying fake traffic
CN105045887B (en) The system and method for mixed mode cross-domain data interaction
CN104468363B (en) Page reorientation method, routing device, terminal device and system
CN108696490A (en) The recognition methods of account permission and device
CN103209414B (en) A kind of method, device and mobile terminal of controlling web page access
CN103139137B (en) Network service provider method and device
US9785710B2 (en) Automatic crawling of encoded dynamic URLs
CN105607986A (en) Acquisition method and device of user behavior log data
US20160342507A1 (en) System and method for dynamically testing networked target systems
CN103686226A (en) Method and system for monitoring internet access of set top box based on cloud computation and set top box
CN111008059A (en) Control method and device for popup window display, terminal and storage medium
CN107274222A (en) Advertisement placement method and device
CN109446801A (en) Detect method, apparatus, server and the storage medium of simulator access
CN102880698B (en) A kind of crawl website defining method and device
CN106209918A (en) The method of a kind of internet security management and terminal
CN104902033B (en) Log in address recording method and device
CN104468459A (en) Vulnerability detection method and apparatus
CN103780592B (en) Method and apparatus for determining being stolen of user account
CN106547806A (en) Page loading method and device
CN103544288A (en) Browser webpage loading control method and device
CN109710329A (en) Web page rendering method, apparatus and terminal device
CN103067495B (en) A kind of method of pushed information and device
CN105468636B (en) A kind of picture loading method of dynamic web page, device and system
CN115398861A (en) Abnormal file detection method and related product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant