[go: up one dir, main page]

CN103955468B - Document display method and device based on browser - Google Patents

Document display method and device based on browser Download PDF

Info

Publication number
CN103955468B
CN103955468B CN201410123976.8A CN201410123976A CN103955468B CN 103955468 B CN103955468 B CN 103955468B CN 201410123976 A CN201410123976 A CN 201410123976A CN 103955468 B CN103955468 B CN 103955468B
Authority
CN
China
Prior art keywords
document
plug
browser
independent
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.)
Expired - Fee Related
Application number
CN201410123976.8A
Other languages
Chinese (zh)
Other versions
CN103955468A (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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410123976.8A priority Critical patent/CN103955468B/en
Priority claimed from CN201210057484.4A external-priority patent/CN102622439B/en
Publication of CN103955468A publication Critical patent/CN103955468A/en
Application granted granted Critical
Publication of CN103955468B publication Critical patent/CN103955468B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • G06F21/53Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by executing in a restricted environment, e.g. sandbox or secure virtual machine

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请提供了一种在浏览器中展示文档的方法和装置。所述方法包括:浏览器主进程依据用户访问文档的请求,创建相应的文档处理程序的插件独立进程,所述插件独立进程为浏览器主进程的子进程;所述插件独立进程初始化浏览器页面;所述浏览器页面调用该文档处理程序的插件解析所述文档,并进行页面展示。本申请可以避免文档处理程序的漏洞木马影响浏览器的使用,进而防止用户电脑中毒。

This application provides a method and device for displaying documents in a browser. The method includes: the browser main process creates a plug-in independent process of the corresponding document processing program according to the request of the user to access the document, and the plug-in independent process is a sub-process of the browser main process; the plug-in independent process initializes the browser page ; The browser page invokes the plug-in of the document processing program to parse the document and display the page. The application can prevent the vulnerability Trojan horse of the document processing program from affecting the use of the browser, thereby preventing the user's computer from being poisoned.

Description

基于浏览器的文档展示方法及装置Browser-based document display method and device

本发明专利申请是申请日为2012年03月06日、申请号为201210057484.4、名称为“一种在浏览器中展示文档的方法及装置”的中国发明专利申请的分案申请。The patent application of the present invention is a divisional application of the Chinese invention patent application with the filing date of March 06, 2012, the application number of 201210057484.4, and the title of "A Method and Device for Displaying Documents in a Browser".

技术领域technical field

本申请涉及数据处理领域,特别是涉及一种在浏览器中展示文档的方法,以及,一种在浏览器中展示文档的装置。The present application relates to the field of data processing, in particular to a method for displaying documents in a browser, and a device for displaying documents in a browser.

背景技术Background technique

PDF格式是一种电子文档格式,当用户在网络上单击有关PDF文件链接时,系统并不会直接打开该文件,而是显示一个文件下载窗口,询问用户是否下载该文件。将指定PDF文件下载到硬盘中,然后再使用PDF文件专用浏览器Acrobat Reader软件进行浏览,操作既繁琐又耽误时间。The PDF format is an electronic document format. When a user clicks on a PDF file link on the Internet, the system does not directly open the file, but displays a file download window to ask the user whether to download the file. Download the designated PDF file to the hard disk, and then use the Acrobat Reader software, which is a special browser for PDF files, to browse. The operation is cumbersome and time-consuming.

为了帮助用户更好地浏览网络上的PDF文件,Acrobat Reader从4.0开始就提供了IE插件功能,它可以将自己作为IE浏览器的插件,为IE增加PDF文件浏览功能。激活此功能之后,用户在浏览网页时,若碰到PDF格式的文件,系统就会自动调用Acrobat Reader插件直接在IE内部显示指定PDF文件,无需将它们下载到硬盘上进行处理,也就是在维持IE浏览器操作方式不变的前提下,扩大了能浏览的内容,从而极大地方便了广大用户对PDF文件的浏览。In order to help users better browse PDF files on the Internet, Acrobat Reader has provided IE plug-in function since 4.0, which can use itself as a plug-in of IE browser to add PDF file browsing function to IE. After activating this function, if the user encounters a PDF file when browsing the web, the system will automatically call the Acrobat Reader plug-in to directly display the specified PDF file inside IE, without downloading them to the hard disk for processing, that is, maintaining On the premise that the operation mode of the IE browser remains unchanged, the content that can be browsed is expanded, which greatly facilitates the browsing of PDF files by the majority of users.

以上现有技术中存在的问题是,当前PDF程序漏洞频出,若浏览器访问的PDF文件是攻击者恶意构造的能触发PDF漏洞的木马病毒,不仅会导致浏览器进程崩溃无法使用,在用户不知情的情况下下载并执行恶意木马,使用户电脑中毒,还可能给用户造成经济损失。The problem existing in the above prior art is that the current PDF program loopholes occur frequently. If the PDF file accessed by the browser is a Trojan horse virus that can trigger the PDF loophole maliciously constructed by an attacker, it will not only cause the browser process to crash and become unusable, but also cause the browser process to crash and become unusable. Downloading and executing a malicious Trojan horse without knowing it will poison the user's computer and may cause economic losses to the user.

与PDF程序相似,Word、Excel和PowerPoint等文档处理程序也存在着多个漏洞,在浏览器中调用文档处理程序的插件打开相应文档时,也会存在和PDF程序相似的问题。Similar to PDF programs, document processing programs such as Word, Excel, and PowerPoint also have multiple vulnerabilities. When the plug-in of the document processing program is called in the browser to open the corresponding document, there will also be problems similar to PDF programs.

发明内容Contents of the invention

本申请所要解决的技术问题是提供一种在浏览器中展示文档的方法,用以避免文档处理程序的漏洞木马影响浏览器的使用,进而防止用户电脑中毒。The technical problem to be solved by this application is to provide a method for displaying documents in a browser, so as to prevent the Trojan horse of a document processing program from affecting the use of the browser, thereby preventing users from being poisoned.

本申请还提供了一种在浏览器中展示文档的装置,用以保证上述方法在实际中的应用及实现。The present application also provides a device for displaying documents in a browser, so as to ensure the practical application and realization of the above method.

为了解决上述问题,本申请公开了一种在浏览器中展示文档的方法,包括:In order to solve the above problems, this application discloses a method for displaying documents in a browser, including:

浏览器主进程依据用户访问文档的请求,创建相应的文档处理程序的插件独立进程,所述插件独立进程为浏览器主进程的子进程;The browser main process creates a plug-in independent process of the corresponding document processing program according to the user's request to access the document, and the plug-in independent process is a sub-process of the browser main process;

所述插件独立进程初始化浏览器页面;The plug-in independent process initializes the browser page;

所述浏览器页面调用该文档处理程序的插件解析所述文档,并进行页面展示。The browser page invokes the plug-in of the document processing program to parse the document and display the page.

优选的,所述方法还包括:Preferably, the method also includes:

设置所述插件独立进程的操作路径指向预置的虚拟文件夹。The operating path of the plug-in independent process is set to point to a preset virtual folder.

优选的,所述浏览器主进程依据用户访问文档的请求,创建相应的文档处理程序的插件独立进程的步骤包括:Preferably, the step of creating a plug-in independent process of the corresponding document processing program according to the request of the user to access the document by the main browser process includes:

浏览器主进程判断用户访问文档的请求中访问网址的后缀是否为文档标识;The browser main process judges whether the suffix of the access URL in the user's request to access the document is a document identifier;

若是,则按照所述文档标识,创建相应的文档处理程序的插件独立进程。If yes, according to the document identification, create a corresponding independent process of the plug-in of the document processing program.

优选的,用户设备上安装有所述文档处理程序的插件,所述浏览器页面调用该文档处理程序的插件解析文档,并进行页面展示的步骤包括:Preferably, the plug-in of the document processing program is installed on the user equipment, and the steps of calling the plug-in of the document processing program on the browser page to parse the document and displaying the page include:

所述浏览器页面调用该文档处理程序的插件;The browser page calls the plug-in of the document processing program;

所述文档处理程序的插件由用户访问文档的请求提取相应的文档,并解析文档内容;The plug-in of the document processing program extracts the corresponding document according to the request of the user to access the document, and parses the content of the document;

所述浏览器页面获取所述文档内容,并进行页面展示。The browser page acquires the content of the document and displays it on the page.

优选的,所述文档包括PDF文档,Word文档,PowerPoint文档或Excel文档,所述文档标识包括doc、docx、pdf、xls或ppt。Preferably, the document includes a PDF document, a Word document, a PowerPoint document or an Excel document, and the document identifier includes doc, docx, pdf, xls or ppt.

本申请还提供了一种在浏览器中展示文档的装置,包括:The present application also provides a device for displaying documents in a browser, including:

独立进程创建模块,用于浏览器主进程依据用户访问文档的请求,创建相应的文档处理程序的插件独立进程,所述插件独立进程为浏览器主进程的子进程;The independent process creation module is used for the main process of the browser to create a plug-in independent process of the corresponding document processing program according to the request of the user to access the document, and the independent process of the plug-in is a sub-process of the main browser process;

页面初始化模块,用于所述插件独立进程初始化浏览器页面;The page initialization module is used for the independent process of the plug-in to initialize the browser page;

文档展示模块,用于所述浏览器页面调用该文档处理程序的插件解析所述文档,并进行页面展示。The document display module is used for the browser page to invoke the plug-in of the document processing program to parse the document and perform page display.

优选的,所述装置还包括:Preferably, the device also includes:

操作路径设置模块,用于设置所述插件独立进程的操作路径指向预置的虚拟文件夹。The operation path setting module is used to set the operation path of the plug-in independent process to point to a preset virtual folder.

优选的,所述独立进程创建模块包括:Preferably, the independent process creation module includes:

后缀判断子模块,用于浏览器主进程判断用户访问文档的请求中访问网址的后缀是否为文档标识;The suffix judging sub-module is used for the browser main process to judge whether the suffix of the access URL in the user's request for accessing the document is a document identifier;

进程创建子模块,用于当所述网址的后缀为文档标识时,按照所述文档标识,创建相应的文档处理程序的插件独立进程。The process creation sub-module is used to create a plug-in independent process of the corresponding document processing program according to the document identification when the suffix of the URL is the document identification.

优选的,用户设备上安装有所述文档处理程序的插件,所述文档展示模块包括:Preferably, a plug-in of the document processing program is installed on the user equipment, and the document display module includes:

插件调用子模块,用于所述浏览器页面调用该文档处理程序的插件;The plug-in calling submodule is used for the browser page to call the plug-in of the document processing program;

文档解析子模块,用于所述文档处理程序的插件由用户访问文档的请求提取相应的文档,并解析文档内容;The document parsing sub-module is used for the plug-in of the document processing program to extract the corresponding document from the request of the user to access the document, and parse the content of the document;

页面展示子模块,用于所述浏览器页面获取所述文档内容,并进行页面展示。The page display submodule is used for the browser page to obtain the content of the document and display the page.

优选的,所述文档包括PDF文档,Word文档,PowerPoint文档或Excel文档,所述文档标识包括doc、docx、pdf、xls或ppt。Preferably, the document includes a PDF document, a Word document, a PowerPoint document or an Excel document, and the document identifier includes doc, docx, pdf, xls or ppt.

与现有技术相比,本申请具有以下优点:Compared with the prior art, the present application has the following advantages:

通过本申请,浏览器在接收到用户查看文档的请求时,建立文档处理程序的插件进程,插件进程与浏览器进程相互独立,插件进程初始化一个新的浏览器页面后,该浏览器页面调用插件解析相应文档并进行展示,由于插件进程独立后仅仅具备打开文档的权限,没有运行任何程序的权限,从而使得攻击文档处理程序的漏洞的木马无法运行,同时,由于插件进程与浏览器进程分离,使得浏览器的进程不受插件的影响。Through this application, when the browser receives a request from the user to view a document, it establishes a plug-in process of the document processing program. The plug-in process and the browser process are independent of each other. After the plug-in process initializes a new browser page, the browser page calls the plug-in Parse the corresponding document and display it. Since the plug-in process is independent, it only has the permission to open the document and has no permission to run any program, so that the Trojan horse attacking the vulnerability of the document processing program cannot run. At the same time, because the plug-in process is separated from the browser process, Make the browser process unaffected by plug-ins.

此外,本申请还可以将插件进程保护起来,设置所述插件独立进程的操作路径指向预置的虚拟文件夹,把程序生成和修改的文件,定向到虚拟文件夹中,插件的操作不会对系统文件产生影响,这样,即使有高级的木马可以绕过插件独立进程的权限控制,也只能感染的虚拟文件夹中的虚拟文件,对真正的系统文件没有任何的影响。In addition, this application can also protect the plug-in process, set the operation path of the independent process of the plug-in to point to the preset virtual folder, and direct the files generated and modified by the program to the virtual folder, and the operation of the plug-in will not affect the In this way, even if there is an advanced trojan that can bypass the permission control of the independent process of the plug-in, it can only infect virtual files in the virtual folder, and has no impact on real system files.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings required in the embodiments. Obviously, the accompanying drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本申请的一种在浏览器中展示文档的方法实施例1的流程图;FIG. 1 is a flow chart of Embodiment 1 of a method for displaying documents in a browser of the present application;

图2是本申请的一种在浏览器中展示文档的方法实施例2的流程图;FIG. 2 is a flowchart of Embodiment 2 of a method for displaying documents in a browser of the present application;

图3是本申请的一种在浏览器中展示文档的装置实施例1的结构框图;FIG. 3 is a structural block diagram of Embodiment 1 of an apparatus for displaying documents in a browser of the present application;

图4是本申请的一种在浏览器中展示文档的装置实施例2的结构框图。FIG. 4 is a structural block diagram of Embodiment 2 of an apparatus for displaying documents in a browser of the present application.

具体实施方式detailed description

为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本申请作进一步详细的说明。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本发明保护的范围。In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

现有技术中,用户在浏览器中阅读文档时,系统可以直接调用文档处理程序的插件,直接在页面中打开文档。当文档处理程序有漏洞时,若浏览器访问的文档是能够触发文档处理程序漏洞的木马病毒,可能会导致浏览器进程崩溃,进一步导致用户电脑中毒。In the prior art, when a user reads a document in a browser, the system can directly call a plug-in of a document processing program to directly open the document on the page. When the document processing program has a vulnerability, if the document accessed by the browser is a Trojan horse virus that can trigger the document processing program vulnerability, it may cause the browser process to crash, further causing the user's computer to be poisoned.

本申请的核心构思之一在于,在用户在浏览器中请求打开文档时,建立文档处理程序的插件进程,与浏览器进程相互独立,仅仅具备打开文档的权限,从而使得木马病毒无法运行,保护了浏览器进程不受影响。One of the core ideas of this application is that when a user requests to open a document in a browser, a plug-in process of the document processing program is established, which is independent of the browser process and only has the authority to open the document, so that the Trojan horse virus cannot run and protect The browser process is not affected.

参考图1,示出了本申请的一种在浏览器中展示文档的方法实施例1的流程图,所述方法具体可以包括以下步骤:Referring to FIG. 1 , it shows a flow chart of Embodiment 1 of a method for displaying documents in a browser of the present application. The method may specifically include the following steps:

步骤101、浏览器主进程依据用户访问文档的请求,创建相应的文档处理程序的插件独立进程,所述插件独立进程为浏览器主进程的子进程。Step 101, the browser main process creates a corresponding plug-in independent process of the document processing program according to the user's request for document access, and the plug-in independent process is a child process of the browser main process.

在本申请中,所述文档可以包括PDF文档,Word文档,PowerPoint文档或Excel文档,或其它类型的电子文档。在浏览器中调用文档处理程序的插件打开文档,首先,需要初始化阅读插件ReaderOCX,即安装该文档对应的文档处理程序的插件,所述插件可以安装在用户设备上。In this application, the document may include a PDF document, a Word document, a PowerPoint document or an Excel document, or other types of electronic documents. To call the plug-in of the document processing program in the browser to open the document, firstly, the reading plug-in ReaderOCX needs to be initialized, that is, the plug-in of the document processing program corresponding to the document needs to be installed, and the plug-in can be installed on the user device.

在本申请的一种优选实施例中,所述步骤101可以包括:In a preferred embodiment of the present application, the step 101 may include:

子步骤S11、浏览器主进程判断用户访问文档的请求中访问网址的后缀是否为文档标识,若是,则执行子步骤S12;Sub-step S11, the browser main process judges whether the suffix of the access URL in the user's request for accessing the document is a document identifier, and if so, executes sub-step S12;

子步骤S12、按照所述文档标识,创建相应的文档处理程序的插件独立进程。Sub-step S12, according to the document identifier, create a plug-in independent process of the corresponding document processing program.

文档标识即是文档的后缀,例如,doc为Word文档的后缀,对应的处理程序为Microsoft Office Word97-2003;docx也是Word文档的后缀,对应的处理程序为MicrosoftOffice Word2007;pdf为PDF文档的后缀,对应的处理程序为Acrobat Reader;xls为Excel文档的后缀,对应的处理程序为Microsoft Office Excel;ppt为PowerPoint文档的后缀,对应的处理程序为Microsoft Office PowerPoint。The document identifier is the suffix of the document. For example, doc is the suffix of the Word document, and the corresponding processing program is Microsoft Office Word97-2003; docx is also the suffix of the Word document, and the corresponding processing program is Microsoft Office Word2007; pdf is the suffix of the PDF document. The corresponding processing program is Acrobat Reader; xls is the suffix of the Excel document, and the corresponding processing program is Microsoft Office Excel; ppt is the suffix of the PowerPoint document, and the corresponding processing program is Microsoft Office PowerPoint.

用户需要在浏览器中访问文档时,浏览器主进程接收到的请求访问的网址的后缀为该文档的文档标识,依据该标识,浏览器主进程可以判断出用户请求在浏览器中查看文档。例如,用户请求访问网址为http://www.wendang.com/test.pdf,其后缀为pdf,浏览器主进程会依据pdf的标识,创建Acrobat Reader的插件独立进程。When a user needs to access a document in a browser, the suffix of the requested URL received by the browser main process is the document identifier of the document. Based on the identifier, the browser main process can determine that the user requests to view the document in the browser. For example, if the user requests to visit the website http://www.wendang.com/test.pdf, and its suffix is pdf, the main process of the browser will create an independent process of the Acrobat Reader plug-in according to the identification of pdf.

插件独立进程为浏览器主进程的子进程,独立于浏览器主进程,独立进程可以由相应的独立进程创建函数(CreateReaderActiveXProcess)创建,例如在Windows操作系统下,可以通过CreateProcess创建独立进程,在linux操作系统下,可以通过fork()函数创建独立进程。插件独立进程只具有显示文档的权限,没有运行任何程序的权限,木马运行不起来就无法攻击文档处理程序的漏洞,即使插件进程受到攻击了,也不会影响到浏览器进程,用户能够继续浏览网页。The plug-in independent process is a child process of the browser main process, which is independent of the browser main process. The independent process can be created by the corresponding independent process creation function (CreateReaderActiveXProcess). For example, under the Windows operating system, an independent process can be created through CreateProcess. In linux Under the operating system, an independent process can be created through the fork() function. The independent process of the plug-in only has the permission to display the document, and does not have the permission to run any program. If the Trojan horse cannot run, it cannot attack the vulnerability of the document processing program. Even if the plug-in process is attacked, it will not affect the browser process, and the user can continue to browse. Web page.

步骤102、所述插件独立进程初始化浏览器页面。Step 102, the plug-in independent process initializes the browser page.

本申请中,插件独立进程独立于浏览器主进程,不涉及任何与浏览器主进程之间的数据通信。插件独立进程就是渲染进程,在一个独立的页面中打开文档。因此,首先需要初始化一个浏览器页面,即初始化WebBrowser控件,WebBrowser是微软封装的一个容器,是用来承载在Windows应用程序渲染网页及其他浏览器支持的文档的,一个页面就是一个WebBrowser容器。独立进程调用WebBrowser控件的接口就完成了初始化。In this application, the independent process of the plug-in is independent of the main process of the browser, and does not involve any data communication with the main process of the browser. The independent process of the plug-in is the rendering process, which opens the document in a separate page. Therefore, first you need to initialize a browser page, that is, initialize the WebBrowser control. WebBrowser is a container packaged by Microsoft and is used to host Windows applications to render web pages and documents supported by other browsers. A page is a WebBrowser container. The independent process calls the interface of the WebBrowser control to complete the initialization.

步骤103、所述浏览器页面调用该文档处理程序的插件解析所述文档,并进行页面展示。Step 103, the browser page invokes the plug-in of the document processing program to parse the document and display the page.

在本申请的一种优选实施例中,所述步骤102可以包括:In a preferred embodiment of the present application, the step 102 may include:

子步骤S21、所述浏览器页面调用该文档处理程序的插件;Sub-step S21, the browser page calls the plug-in of the document processing program;

子步骤S22、所述文档处理程序的插件由用户访问文档的请求提取相应的文档,并解析文档内容;Sub-step S22, the plug-in of the document processing program extracts the corresponding document according to the request of the user to access the document, and parses the content of the document;

子步骤S23、所述浏览器页面获取所述文档内容,并进行页面展示。Sub-step S23, the browser page obtains the content of the document and displays it on the page.

WebBrowser初始化后,可以调用已安装好的文档处理程序的插件解析文档。文档处理程序的插件在系统中具备一个唯一标识符CLSID,WebBrowser通过该唯一标识符即可查找到相应文档处理程序的插件,调用该插件的相关接口就完成了调用。插件由用户访问文档的请求在服务器中提取相应的文档,然后解析出文档内容,将文档内容传递给WebBrowser进行页面展示。After the WebBrowser is initialized, it can call the plug-in of the installed document processing program to parse the document. The plug-in of the document processing program has a unique identifier CLSID in the system, and the WebBrowser can find the plug-in of the corresponding document processing program through the unique identifier, and the call is completed by calling the relevant interface of the plug-in. The plug-in extracts the corresponding document from the server according to the request of the user to access the document, then parses out the content of the document, and passes the content of the document to the WebBrowser for page display.

参考图2,示出了本申请的一种在浏览器中展示文档的方法实施例2的流程图,所述方法具体可以包括以下步骤:Referring to FIG. 2 , it shows a flow chart of Embodiment 2 of a method for displaying documents in a browser of the present application. The method may specifically include the following steps:

步骤201、浏览器主进程依据用户访问文档的请求,创建相应的文档处理程序的插件独立进程,所述插件独立进程为浏览器主进程的子进程。Step 201, the browser main process creates a corresponding plug-in independent process of the document processing program according to the user's request for document access, and the plug-in independent process is a child process of the browser main process.

步骤202、设置所述插件独立进程的操作路径指向预置的虚拟文件夹。Step 202, setting the operation path of the plug-in independent process to point to a preset virtual folder.

建立插件独立进程可以防止木马的运行,但少数高级木马可以绕过安全防护,进入系统。为避免系统中木马病毒,可以在系统内建立虚拟文件夹,虚拟文件夹相当于系统内的一个虚拟的隔离空间,在建立了插件独立进程后,设置该插件独立进程的操作路径指向预置的虚拟文件夹,这样插件生成和修改的文件会定向放入虚拟文件夹中,与系统隔离开。这样,即使有高级的木马可以绕过插件独立进程的权限控制,也只能感染虚拟文件夹中的虚拟文件,对真正的系统文件没有任何的影响。Establishing a plug-in independent process can prevent Trojan horses from running, but a small number of advanced Trojan horses can bypass security protection and enter the system. In order to avoid Trojan virus in the system, you can create a virtual folder in the system. The virtual folder is equivalent to a virtual isolation space in the system. After the independent process of the plug-in is established, set the operation path of the independent process of the plug-in to point to the preset Virtual folder, so that the files generated and modified by the plug-in will be directed into the virtual folder and isolated from the system. In this way, even if there is an advanced Trojan horse that can bypass the permission control of the independent process of the plug-in, it can only infect virtual files in the virtual folder, without any impact on real system files.

在具体的实现中,若用户设备上安装了文档处理程序的插件,可以将该插件独立进程添加到浏览器安全沙箱中,相当于把独立进程的文件操作都进行重定向到安全沙箱,安全沙箱如同在系统里构建了一块虚拟的隔离空间,独立进程的各个操作相当于是在沙箱中进行。点击到木马网站,下载了病毒或盗号木马的时候,木马病毒会运行在这块隔离的空间中,木马感染的只是虚拟的系统文件,不会对真实的系统文件产生任何影响。In a specific implementation, if the plug-in of the document processing program is installed on the user device, the independent process of the plug-in can be added to the browser security sandbox, which is equivalent to redirecting all file operations of the independent process to the security sandbox. The security sandbox is like building a virtual isolation space in the system, and each operation of an independent process is equivalent to being carried out in the sandbox. When you click on the Trojan horse website and download a virus or account hacking Trojan horse, the Trojan horse virus will run in this isolated space. The Trojan horse infects only virtual system files and will not have any impact on real system files.

步骤203、所述插件独立进程初始化浏览器页面。Step 203, the plug-in independent process initializes the browser page.

步骤204、所述浏览器页面调用该文档处理程序的插件解析所述文档,并进行页面展示。Step 204, the browser page invokes the plug-in of the document processing program to parse the document and display the page.

其中,用户设备上可以安装有所述文档处理程序的插件。Wherein, the plug-in of the document processing program may be installed on the user equipment.

综上所述,本申请提供了一种在浏览器中展示文档的方法,通过本申请,浏览器在接收到用户查看文档的请求时,建立文档处理程序的插件进程,与浏览器进程相互独立,插件独立进程初始化一个新的浏览器页面后,该浏览器页面调用插件解析相应文档并进行展示,由于插件进程独立后仅仅具备打开文档的权限,没有运行任何程序的权限,从而使得攻击文档处理程序的漏洞的木马无法运行,同时,由于插件进程与浏览器进程分离,使得浏览器的进程不受插件的影响。To sum up, this application provides a method for displaying documents in a browser. Through this application, when a browser receives a request from a user to view a document, it establishes a plug-in process of a document processing program, which is independent of the browser process. After the independent process of the plug-in initializes a new browser page, the browser page calls the plug-in to parse the corresponding document and display it. Since the independent plug-in process only has the permission to open the document and does not have the permission to run any program, it makes the attack document processing The Trojan horse of the vulnerability of the program cannot run, and at the same time, because the plug-in process is separated from the browser process, the browser process is not affected by the plug-in.

此外,本申请还可以将插件进程保护起来,设置所述插件独立进程的操作路径指向预置的虚拟文件夹,把程序生成和修改的文件,定向到虚拟文件夹中,插件的操作不会对系统文件产生影响,这样,即使有高级的木马可以绕过插件独立进程的权限控制,也只能感染的虚拟文件夹中的虚拟文件,对真正的系统文件没有任何的影响。In addition, this application can also protect the plug-in process, set the operation path of the independent process of the plug-in to point to the preset virtual folder, and direct the files generated and modified by the program to the virtual folder, and the operation of the plug-in will not affect the In this way, even if there is an advanced trojan that can bypass the permission control of the independent process of the plug-in, it can only infect virtual files in the virtual folder, and has no impact on real system files.

对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。For the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the application is not limited by the described action sequence, because according to the application, certain steps Other sequences or concurrently may be used. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by this application.

参考图3,示出了本申请的一种在浏览器中展示文档的装置实施例1的结构框图,所述装置具体可以包括以下模块:Referring to FIG. 3 , it shows a structural block diagram of Embodiment 1 of an apparatus for displaying documents in a browser of the present application. The apparatus may specifically include the following modules:

独立进程创建模块301,用于浏览器主进程依据用户访问文档的请求,创建相应的文档处理程序的插件独立进程,所述插件独立进程为浏览器主进程的子进程;The independent process creation module 301 is used for the main process of the browser to create a plug-in independent process of the corresponding document processing program according to the request of the user to access the document, and the independent process of the plug-in is a sub-process of the main browser process;

页面初始化模块302,用于所述插件独立进程初始化浏览器页面;The page initialization module 302 is used for the independent process of the plug-in to initialize the browser page;

文档展示模块303,用于所述浏览器页面调用该文档处理程序的插件解析所述文档,并进行页面展示。The document display module 303 is used for the browser page to call the plug-in of the document processing program to parse the document and perform page display.

在本申请的一种优选实施例中,所述独立进程创建模块301可以包括:In a preferred embodiment of the present application, the independent process creation module 301 may include:

后缀判断子模块,用于浏览器主进程判断用户访问文档的请求中访问网址的后缀是否为文档标识;The suffix judging sub-module is used for the browser main process to judge whether the suffix of the access URL in the user's request for accessing the document is a document identifier;

进程创建子模块,用于当所述网址的后缀为文档标识时,按照所述文档标识,创建相应的文档处理程序的插件独立进程。The process creation sub-module is used to create a plug-in independent process of the corresponding document processing program according to the document identification when the suffix of the URL is the document identification.

在本申请的一种优选实施例中,用户设备上可以安装有所述文档处理程序的插件,所述文档展示模块可以包括:In a preferred embodiment of the present application, a plug-in of the document processing program may be installed on the user equipment, and the document display module may include:

插件调用子模块,用于所述浏览器页面调用该文档处理程序的插件;The plug-in calling submodule is used for the browser page to call the plug-in of the document processing program;

文档解析子模块,用于所述文档处理程序的插件由用户访问文档的请求提取相应的文档,并解析文档内容;The document parsing sub-module is used for the plug-in of the document processing program to extract the corresponding document from the request of the user to access the document, and parse the content of the document;

页面展示子模块,用于所述浏览器页面获取所述文档内容,并进行页面展示。The page display submodule is used for the browser page to obtain the content of the document and display the page.

在本申请的一种优选实施例中,所述文档可以包括PDF文档,Word文档,PowerPoint文档或Excel文档,所述文档标识可以包括doc、docx、pdf、xls或ppt。In a preferred embodiment of the present application, the document may include a PDF document, a Word document, a PowerPoint document or an Excel document, and the document identifier may include doc, docx, pdf, xls or ppt.

参考图4,示出了本申请的一种在浏览器中展示文档的装置实施例2的结构框图,所述装置具体可以包括以下模块:Referring to FIG. 4 , it shows a structural block diagram of Embodiment 2 of an apparatus for displaying documents in a browser of the present application. The apparatus may specifically include the following modules:

独立进程创建模块401,用于浏览器主进程依据用户访问文档的请求,创建相应的文档处理程序的插件独立进程,所述插件独立进程为浏览器主进程的子进程;The independent process creation module 401 is used for the browser main process to create the plug-in independent process of the corresponding document processing program according to the request of the user to access the document, and the plug-in independent process is a sub-process of the browser main process;

操作路径设置模块402,用于设置所述插件独立进程的操作路径指向预置的虚拟文件夹。An operation path setting module 402, configured to set the operation path of the plug-in independent process to point to a preset virtual folder.

页面初始化模块403,用于所述插件独立进程初始化浏览器页面;The page initialization module 403 is used for the independent process of the plug-in to initialize the browser page;

文档展示模块404,用于所述浏览器页面调用该文档处理程序的插件解析所述文档,并进行页面展示。The document presentation module 404 is used for the browser page to call the plug-in of the document processing program to parse the document and perform page presentation.

其中,用户设备上可以安装有所述文档处理程序的插件。Wherein, the plug-in of the document processing program may be installed on the user equipment.

综上所述,本申请提供了一种在浏览器中展示文档的装置,通过本申请,独立进程创建模块依据用户查看文档的请求,建立文档处理程序的插件进程,与浏览器进程相互独立,页面初始化模块利用插件独立进程初始化一个新的浏览器页面后,文档展示模块中该浏览器页面会调用插件解析相应文档并进行展示,由于插件进程独立后仅仅具备打开文档的权限,没有运行任何程序的权限,从而使得攻击文档处理程序的漏洞的木马无法运行,同时,由于插件进程与浏览器进程分离,使得浏览器的进程不受插件的影响。To sum up, this application provides a device for displaying documents in a browser. Through this application, the independent process creation module establishes a plug-in process of a document processing program based on the user's request to view documents, which is independent of the browser process. After the page initialization module uses the plug-in independent process to initialize a new browser page, the browser page in the document display module will call the plug-in to parse the corresponding document and display it. Since the plug-in process is independent, it only has the authority to open the document and does not run any programs. permissions, so that the Trojan horse attacking the vulnerability of the document processing program cannot run, and at the same time, because the plug-in process is separated from the browser process, the browser process is not affected by the plug-in.

此外,操作路径设置模块还可以设置所述插件独立进程的操作路径指向预置的虚拟文件夹,把程序生成和修改的文件,定向到虚拟文件夹中,插件的操作不会对系统文件产生影响,将插件进程保护起来,这样,即使有高级的木马可以绕过插件独立进程的权限控制,也只能感染的虚拟文件夹中的虚拟文件,对真正的系统文件没有任何的影响。In addition, the operation path setting module can also set the operation path of the independent process of the plug-in to point to a preset virtual folder, and direct the files generated and modified by the program to the virtual folder, and the operation of the plug-in will not affect the system files , to protect the plug-in process, so that even if there is an advanced Trojan that can bypass the permission control of the independent process of the plug-in, it can only infect virtual files in the virtual folder, and has no impact on real system files.

由于所述装置实施例基本相应于前述图1和图2所示的方法实施例,故本实施例的描述中未详尽之处,可以参见前述实施例中的相关说明,在此就不赘述了。Since the device embodiment basically corresponds to the method embodiment shown in Figure 1 and Figure 2 above, for details not described in this embodiment, you can refer to the relevant description in the previous embodiment, and will not go into details here .

本申请可用于众多通用或专用的计算系统环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器系统、基于微处理器的系统、置顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。The application can be used in numerous general purpose or special purpose computing system environments or configurations. Examples: personal computers, server computers, handheld or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, including A distributed computing environment for any of the above systems or devices, etc.

本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。This application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.

在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。As used herein, the terms "comprises," "comprises," or any other variation thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that includes a set of elements includes not only those elements, but also includes not expressly included other elements listed, or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

以上对本申请所提供的一种在浏览器中展示文档的方法,以及,一种在浏览器中展示文档的装置进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。A method for displaying documents in a browser and a device for displaying documents in a browser provided by this application have been introduced above in detail. In this paper, specific examples are used to illustrate the principles and implementation methods of this application. Explain that the description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation and application scope In summary, the contents of this specification should not be construed as limiting the application.

Claims (20)

1.一种基于浏览器的文档展示方法,其包括:1. A browser-based document display method, comprising: 当接收到用户访问文档的请求时,浏览器主进程创建与所述文档对应的子进程,所述子进程独立于所述浏览器主进程;When receiving a request from a user to access a document, the browser main process creates a sub-process corresponding to the document, and the sub-process is independent of the browser main process; 由所述子进程初始化一浏览器页面;a browser page is initialized by the child process; 所述浏览器页面调用与所述文档对应的文档处理程序的插件以对所述文档进行解析;The browser page invokes a plug-in of a document processing program corresponding to the document to parse the document; 所述浏览器页面对经解析的文档内容进行页面展示。The browser page displays the parsed document content. 2.如权利要求1所述的方法,还包括:2. The method of claim 1, further comprising: 将所述子进程的操作路径设置成指向预置的虚拟文件夹或沙箱。The operation path of the subprocess is set to point to a preset virtual folder or sandbox. 3.如权利要求2所述的方法,其中,当接收到用户访问文档的请求时,浏览器主进程创建与所述文档对应的子进程进一步包括:3. The method according to claim 2, wherein, when receiving a request from a user to access a document, creating a subprocess corresponding to the document by the browser main process further comprises: 浏览器主进程根据用户访问文档的请求获知所述文档的后缀;The browser main process obtains the suffix of the document according to the user's request to access the document; 根据所述文档的后缀,创建与所述文档的后缀相应的文档处理程序的插件独立进程,该插件独立进程为所述浏览器主进程的子进程。According to the suffix of the document, a plug-in independent process of the document processing program corresponding to the suffix of the document is created, and the independent process of the plug-in is a child process of the main browser process. 4.如权利要求3所述的方法,其中,所述插件独立进程为一渲染进程。4. The method of claim 3, wherein the plug-in independent process is a rendering process. 5.如权利要求1至4中任一项所述的方法,其中,所述文档包括PDF文档,Word文档,PowerPoint文档或Excel文档。5. The method according to any one of claims 1 to 4, wherein the document comprises a PDF document, a Word document, a PowerPoint document or an Excel document. 6.一种基于浏览器的文档展示装置,其包括:6. A browser-based document display device, comprising: 进程创建模块,适于当接收到用户访问文档的请求时,浏览器主进程创建与所述文档对应的子进程,所述子进程独立于所述浏览器主进程;The process creation module is adapted to create a sub-process corresponding to the document by the main browser process when receiving a request from a user to access a document, and the sub-process is independent of the main browser process; 页面初始化模块,适于由所述子进程初始化一浏览器页面;A page initialization module, suitable for initializing a browser page by the subprocess; 调用模块,适于所述浏览器页面调用与所述文档对应的文档处理程序的插件以对所述文档进行解析;A calling module, adapted for the browser page to call a plug-in of a document processing program corresponding to the document to analyze the document; 展示模块,适于所述浏览器页面对经解析的文档内容进行页面展示。The display module is adapted to display the parsed document content on the browser page. 7.如权利要求6所述的装置,还包括:7. The apparatus of claim 6, further comprising: 操作路径设置模块,适于将所述子进程的操作路径设置成指向预置的虚拟文件夹或沙箱。The operation path setting module is adapted to set the operation path of the sub-process to point to a preset virtual folder or sandbox. 8.如权利要求7所述的装置,其中,进程创建模块进一步适于:8. The apparatus of claim 7, wherein the process creation module is further adapted to: 根据用户访问文档的请求获知所述文档的后缀;Knowing the suffix of the document according to the user's request to access the document; 根据所述文档的后缀,创建与所述文档的后缀相应的文档处理程序的插件独立进程,该插件独立进程为所述浏览器主进程的子进程。According to the suffix of the document, a plug-in independent process of the document processing program corresponding to the suffix of the document is created, and the independent process of the plug-in is a child process of the main browser process. 9.如权利要求8所述的装置,其中,所述插件独立进程为一渲染进程。9. The apparatus of claim 8, wherein the plug-in independent process is a rendering process. 10.如权利要求6至9中任一项所述的装置,其中,所述文档包括PDF文档,Word文档,PowerPoint文档或Excel文档。10. The device according to any one of claims 6 to 9, wherein the document comprises a PDF document, a Word document, a PowerPoint document or an Excel document. 11.一种基于浏览器的文档展示方法,其包括:11. A browser-based document display method, comprising: 接收用户访问文档的请求;Receive user requests to access documents; 根据所述请求中的文档的文档类型,为与所述文档类型相对应的文档处理程序的插件创建一插件独立进程,该插件独立进程是浏览器主进程的子进程;According to the document type of the document in the request, create a plug-in independent process for the plug-in of the document processing program corresponding to the document type, and the plug-in independent process is a sub-process of the browser main process; 由所述插件独立进程来展示所述文档。The document is rendered by the plug-in independent process. 12.如权利要求11所述的方法,其中,在由所述插件独立进程来展示所述文档之前,还包括:12. The method according to claim 11, wherein, before displaying the document by the plug-in independent process, further comprising: 将所述插件独立进程的操作路径设置成指向预置的虚拟文件夹或者沙箱。The operation path of the plug-in independent process is set to point to a preset virtual folder or sandbox. 13.如权利要求12所述的方法,其中,由所述插件独立进程来展示所述文档进一步包括:13. The method of claim 12, wherein rendering the document by the plug-in independent process further comprises: 由所述插件独立进程初始化一浏览器页面;a browser page is initialized by the plug-in independent process; 所述浏览器页面调用所述文档处理程序的插件以对所述文档进行解析;The browser page invokes the plug-in of the document processing program to analyze the document; 所述浏览器页面对解析后的文档内容进行页面展示。The browser page displays the parsed document content on a page. 14.如权利要求13所述的方法,其中,所述插件独立进程为一渲染进程。14. The method of claim 13, wherein the plug-in independent process is a rendering process. 15.如权利要求11至14中任一项所述的方法,其中,所述文档包括PDF文档,Word文档,PowerPoint文档或Excel文档。15. The method according to any one of claims 11 to 14, wherein the document comprises a PDF document, a Word document, a PowerPoint document or an Excel document. 16.一种基于浏览器的文档展示装置,其包括:16. A browser-based document presentation device, comprising: 接收模块,适于接收用户访问文档的请求;a receiving module adapted to receive a user's request for accessing a document; 插件独立进程创建模块,适于根据所述请求中的文档的文档类型,为与所述文档类型相对应的文档处理程序的插件创建一插件独立进程,该插件独立进程是浏览器主进程的子进程;The plug-in independent process creation module is suitable for creating a plug-in independent process for the plug-in of the document processing program corresponding to the document type according to the document type of the document in the request, and the plug-in independent process is a child of the browser main process process; 展示模块,适于由所述插件独立进程来展示所述文档。The display module is suitable for displaying the document by the independent process of the plug-in. 17.如权利要求16所述的装置,其中,还包括:17. The apparatus of claim 16, further comprising: 操作路径设置模块,适于将所述插件独立进程的操作路径设置成指向预置的虚拟文件夹或者沙箱。The operation path setting module is adapted to set the operation path of the plug-in independent process to point to a preset virtual folder or sandbox. 18.如权利要求17所述的装置,其中,展示模块进一步包括:18. The apparatus of claim 17, wherein the display module further comprises: 页面初始化模块,适于由所述插件独立进程初始化一浏览器页面;A page initialization module, adapted to initialize a browser page by the plug-in independent process; 调用模块,适于所述浏览器页面调用所述文档处理程序的插件以对所述文档进行解析;A calling module, adapted for the browser page to call the plug-in of the document processing program to analyze the document; 展示子模块,适于所述浏览器页面对解析后的文档内容进行页面展示。The display sub-module is suitable for displaying the parsed document content on the browser page. 19.如权利要求18所述的装置,其中,所述插件独立进程为一渲染进程。19. The apparatus of claim 18, wherein the plug-in independent process is a rendering process. 20.如权利要求16至19中任一项所述的装置,其中,所述文档包括PDF文档,Word文档,PowerPoint文档或Excel文档。20. The apparatus according to any one of claims 16 to 19, wherein the document comprises a PDF document, a Word document, a PowerPoint document or an Excel document.
CN201410123976.8A 2012-03-06 2012-03-06 Document display method and device based on browser Expired - Fee Related CN103955468B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410123976.8A CN103955468B (en) 2012-03-06 2012-03-06 Document display method and device based on browser

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210057484.4A CN102622439B (en) 2012-03-06 2012-03-06 Method and device for displaying document in browser
CN201410123976.8A CN103955468B (en) 2012-03-06 2012-03-06 Document display method and device based on browser

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201210057484.4A Division CN102622439B (en) 2012-03-06 2012-03-06 Method and device for displaying document in browser

Publications (2)

Publication Number Publication Date
CN103955468A CN103955468A (en) 2014-07-30
CN103955468B true CN103955468B (en) 2017-12-19

Family

ID=51332743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410123976.8A Expired - Fee Related CN103955468B (en) 2012-03-06 2012-03-06 Document display method and device based on browser

Country Status (1)

Country Link
CN (1) CN103955468B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109684824B (en) * 2014-12-29 2021-09-03 北京奇虎科技有限公司 Process permission configuration method and device
CN106021283A (en) * 2016-04-29 2016-10-12 乐视控股(北京)有限公司 Terminal and page loading method based on terminal
CN107786413B (en) * 2016-08-24 2022-03-22 中兴通讯股份有限公司 Method for browsing e-mail and user terminal
CN110442400B (en) * 2019-08-15 2023-04-18 网易(杭州)网络有限公司 Browser control method and device
CN110708366A (en) * 2019-09-24 2020-01-17 深圳市迅雷网络技术有限公司 Plug-in process management method, related method and related device
CN112507385B (en) * 2020-12-25 2022-05-10 北京字跳网络技术有限公司 Information display method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101201826A (en) * 2006-12-15 2008-06-18 何庆 Distributed relational tree platform for information management
CN101567065A (en) * 2009-05-26 2009-10-28 杭州世导科技有限公司 Cross-platform online file editing system and method thereof
CN102156663A (en) * 2011-03-22 2011-08-17 北京书生国际信息技术有限公司 Implementation method and device of plugin
CN102232217A (en) * 2008-12-02 2011-11-02 微软公司 Sandboxed execution of plug-ins

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101201826A (en) * 2006-12-15 2008-06-18 何庆 Distributed relational tree platform for information management
CN102232217A (en) * 2008-12-02 2011-11-02 微软公司 Sandboxed execution of plug-ins
CN101567065A (en) * 2009-05-26 2009-10-28 杭州世导科技有限公司 Cross-platform online file editing system and method thereof
CN102156663A (en) * 2011-03-22 2011-08-17 北京书生国际信息技术有限公司 Implementation method and device of plugin

Also Published As

Publication number Publication date
CN103955468A (en) 2014-07-30

Similar Documents

Publication Publication Date Title
CN102622439A (en) Method and device for displaying document in browser
US11593484B2 (en) Proactive browser content analysis
JP6624771B2 (en) Client-based local malware detection method
CN101370010B (en) Method and apparatus for secure web browsing
US9349007B2 (en) Web malware blocking through parallel resource rendering
US8973136B2 (en) System and method for protecting computer systems from malware attacks
US9305174B2 (en) Electronic clipboard protection
CN103955468B (en) Document display method and device based on browser
US8448260B1 (en) Electronic clipboard protection
WO2016086767A1 (en) Method, browser client, and device for achieving browser security
WO2013044757A1 (en) Method, device and system for detecting security of download link
US20140283078A1 (en) Scanning and filtering of hosted content
US20190155868A1 (en) Server and method for providing secure access to web-based services
US20120272317A1 (en) System and method for detecting infectious web content
CN103744802A (en) Method and device for identifying SQL injection attacks
CN105550596A (en) Access processing method and apparatus
CN111163094B (en) Network attack detection method, network attack detection device, electronic device, and medium
WO2014117687A1 (en) Method and device for displaying web address safety evaluation information
CN103955466B (en) A kind of method and device for showing document in a browser
CN105095748B (en) A kind of method that browser isolation uses
US20190334930A1 (en) Mobile device and method for isolating and protecting a computer, networks, and devices from viruses and cyber attacks
CN114329459A (en) Browser protection method and device
CN114499968A (en) An XSS attack detection method and device
CN108427763B (en) A web page display device
TWI647574B (en) Cloud safety network browsing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171219