JP5922640B2 - Browsing control device, browsing control method, and browsing control program - Google Patents
Browsing control device, browsing control method, and browsing control program Download PDFInfo
- Publication number
- JP5922640B2 JP5922640B2 JP2013265544A JP2013265544A JP5922640B2 JP 5922640 B2 JP5922640 B2 JP 5922640B2 JP 2013265544 A JP2013265544 A JP 2013265544A JP 2013265544 A JP2013265544 A JP 2013265544A JP 5922640 B2 JP5922640 B2 JP 5922640B2
- Authority
- JP
- Japan
- Prior art keywords
- browsing
- prohibited
- resource data
- web page
- content
- 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
Links
Images
Description
この発明は、ブラウザにおけるWebページの閲覧を制御する閲覧制御装置、閲覧制御方法および閲覧制御プログラムに関する。 The present invention relates to a browsing control device, a browsing control method, and a browsing control program that control browsing of a Web page in a browser.
従来、未成年者などに対して、有害なコンテンツを含むWebページの閲覧を制限するための技術が知られている(たとえば、下記特許文献1または2参照)。下記特許文献1では、あらかじめ端末に識別情報を与え、アクセスを許可するレベルの設定をおこない、あらかじめインターネット上に端末の識別情報、レベルおよびこのレベルに対してアクセスを制限することが望まれるインターネット上のサイトのURLを記憶する管理サイトを設け、端末がインターネット上のサイトにアクセスする際、サイトのURL、端末の識別情報およびレベルを、端末からインターネットを経由して管理サイトへ送信し、管理サイトが受信したサイトのURL、識別情報およびレベルに基づき、アクセス禁止されていると判断した時、端末上で情報の表示を禁止し、アクセス禁止されていないと判断した時、情報を端末上で表示または出力することを可能にする技術が開示されている。また、下記特許文献2では、有益語キーワードのデータベースを設けて、禁止語キーワードが含まれているコンテンツでも、有益語キーワードが含まれていれば、有益な情報を含むコンテンツであると判断して閲覧を可能にする技術が開示されている。 2. Description of the Related Art Conventionally, a technique for restricting browsing of a Web page including harmful content to a minor or the like is known (for example, see Patent Document 1 or 2 below). In the following Patent Document 1, identification information is given to a terminal in advance, a level for permitting access is set, and the identification information of the terminal, the level, and access to this level are desired to be restricted on the Internet in advance. A management site for storing the URL of the site is provided, and when the terminal accesses the site on the Internet, the URL of the site, the identification information of the terminal, and the level are transmitted from the terminal to the management site via the Internet. When it is determined that access is prohibited based on the URL, identification information, and level of the site received, the display of information is prohibited on the terminal, and the information is displayed on the terminal when it is determined that access is not prohibited Alternatively, a technique that enables output is disclosed. Further, in Patent Document 2 below, a database of useful word keywords is provided, and even if the content includes prohibited word keywords, it is determined that the content includes useful information if the useful word keywords are included. A technique that enables browsing is disclosed.
しかしながら、上述した従来技術では、閲覧が禁止されている有害コンテンツ(以下、「閲覧禁止コンテンツ」という)を含むWebページにはアクセスすることができない。このため、たとえば、有益なコンテンツを含むWebページであっても、一部に閲覧禁止コンテンツが含まれている場合には閲覧することができず、有益なコンテンツにアクセスすることができないという問題点がある。 However, in the above-described conventional technology, it is not possible to access a Web page including harmful content that is prohibited from browsing (hereinafter referred to as “browsing prohibited content”). For this reason, for example, even if it is a Web page containing useful content, if some of the browsing prohibited content is included, it cannot be browsed, and the useful content cannot be accessed There is.
また、たとえば、一部に閲覧禁止コンテンツが含まれているWebページにおいて、閲覧禁止コンテンツ部分のみを削除したり、表示しないようにしたりすると、Webページのレイアウトが崩れ、見た目を損ねたり、表示エラーが発生したものと思われてしまうという問題点がある。 Also, for example, in a Web page that partially includes prohibited browsing content, if only the prohibited browsing content part is deleted or not displayed, the layout of the Web page will be destroyed, the appearance may be impaired, or a display error may occur. There is a problem that it seems to have occurred.
この発明は、上述した従来技術による問題点を解消するため、一部に閲覧禁止コンテンツを含むWebページにおいて、Webページのレイアウトを保ったまま、閲覧禁止コンテンツのみを閲覧できないようにする閲覧制御装置、閲覧制御方法および閲覧制御プログラムを提供することを目的とする。 In order to solve the above-described problems caused by the prior art, the present invention provides a browsing control device that prevents browsing only browsing-prohibited content while maintaining the layout of the Web page in a Web page partially including browsing-prohibited content. An object of the present invention is to provide a browsing control method and a browsing control program.
上述した課題を解決し、目的を達成するため、この発明にかかる閲覧制御装置は、ブラウザを用いたWebページの閲覧を制御する閲覧制御装置であって、前記ブラウザから前記Webページの閲覧要求を受け付け、前記Webページを構成する、所定単位のデータ長に分割されたリソースデータを先頭から順次取得し、取得された前記リソースデータごとに、事前に開始タグおよび終了タグが出現した位置を記憶し、前記Webページ内に閲覧禁止コンテンツが含まれているか否かを前記リソースデータごとに判断し、前記閲覧禁止コンテンツが含まれていると判断された場合、前記閲覧禁止コンテンツの終了タグが出現した位置と、当該終了タグに対応する前記開始タグが出現した位置と、当該開始タグおよび当該終了タグが出現する前記リソースデータをそれぞれ特定し、前記開始タグと前記終了タグとが別々の前記リソースデータにおいて出現する場合は、当該開始タグと当該終了タグとに基づいて、当該閲覧禁止コンテンツが表示される前記Webページ上の範囲(以下、「閲覧禁止範囲」という)を前記リソースデータごとに特定し、特定された前記閲覧禁止範囲に、前記閲覧禁止コンテンツに代わる、当該閲覧禁止コンテンツと同じ大きさの他の表示内容が表示されるよう前記閲覧禁止範囲が特定されたリソースデータをそれぞれ置換し、前記置換がなされなかった前記リソースデータとともに、置換された前記リソースデータを順次前記ブラウザに出力する、ことを特徴とする。
また、この発明にかかる閲覧制御方法は、ブラウザを用いたWebページの閲覧を制御する閲覧制御装置が実行する閲覧制御方法であって、前記ブラウザから前記Webページの閲覧要求を受け付け、前記Webページを構成する、所定単位のデータ長に分割されたリソースデータを先頭から順次取得し、取得された前記リソースデータごとに、事前に開始タグおよび終了タグが出現した位置を記憶し、前記Webページ内に閲覧禁止コンテンツが含まれているか否かを前記リソースデータごとに判断し、前記閲覧禁止コンテンツが含まれていると判断された場合、前記閲覧禁止コンテンツの終了タグが出現した位置と、当該終了タグに対応する前記開始タグが出現した位置と、当該開始タグおよび当該終了タグが出現する前記リソースデータをそれぞれ特定し、前記開始タグと前記終了タグとが別々の前記リソースデータにおいて出現する場合は、当該開始タグと当該終了タグとに基づいて、当該閲覧禁止コンテンツが表示される前記Webページ上の範囲(以下、「閲覧禁止範囲」という)を前記リソースデータごとに特定し、特定された前記閲覧禁止範囲に、前記閲覧禁止コンテンツに代わる、当該閲覧禁止コンテンツと同じ大きさの他の表示内容が表示されるよう前記閲覧禁止範囲が特定されたリソースデータをそれぞれ置換し、前記置換がなされなかった前記リソースデータとともに、置換された前記リソースデータを順次前記ブラウザに出力する、ことを特徴とする。
また、この発明にかかる閲覧制御プログラムは、ブラウザを用いたWebページの閲覧を制御する閲覧制御装置に実行させる閲覧制御プログラムであって、前記ブラウザから前記Webページの閲覧要求を受け付け、前記Webページを構成する、所定単位のデータ長に分割されたリソースデータを先頭から順次取得し、取得された前記リソースデータごとに、事前に開始タグおよび終了タグが出現した位置を記憶し、前記Webページ内に閲覧禁止コンテンツが含まれているか否かを前記リソースデータごとに判断し、前記閲覧禁止コンテンツが含まれていると判断された場合、前記閲覧禁止コンテンツの終了タグが出現した位置と、当該終了タグに対応する前記開始タグが出現した位置と、当該開始タグおよび当該終了タグが出現する前記リソースデータをそれぞれ特定し、前記開始タグと前記終了タグとが別々の前記リソースデータにおいて出現する場合は、当該開始タグと当該終了タグとに基づいて、当該閲覧禁止コンテンツが表示される前記Webページ上の範囲(以下、「閲覧禁止範囲」という)を前記リソースデータごとに特定し、特定された前記閲覧禁止範囲に、前記閲覧禁止コンテンツに代わる、当該閲覧禁止コンテンツと同じ大きさの他の表示内容が表示されるよう前記閲覧禁止範囲が特定されたリソースデータをそれぞれ置換し、前記置換がなされなかった前記リソースデータとともに、置換された前記リソースデータを順次前記ブラウザに出力する、処理をコンピュータに実行させることを特徴とする。
また、この発明にかかる閲覧制御装置は、ブラウザを用いたWebページの閲覧を制御する閲覧制御装置であって、前記ブラウザから前記Webページの閲覧要求を取得する閲覧要求取得手段と、前記Webページを構成するリソースデータを取得するリソースデータ取得手段と、前記Webページ内に閲覧禁止コンテンツが含まれているか否かを判断する判断手段と、前記判断手段で前記閲覧禁止コンテンツが含まれていると判断された場合、前記閲覧禁止コンテンツが表示される前記Webページ上の範囲(以下、「閲覧禁止範囲」という)を特定する特定手段と、前記特定手段によって特定された前記閲覧禁止範囲に、前記閲覧禁止コンテンツに代わる他の表示内容が表示されるよう前記リソースデータを置換する置換手段と、前記置換手段によって置換された前記リソースデータを前記ブラウザに出力する出力手段と、を備えることを特徴とする。
In order to solve the above-described problems and achieve the object, a browsing control device according to the present invention is a browsing control device that controls browsing of a Web page using a browser, and issues a browsing request for the Web page from the browser. receiving said constitutes a Web page, sequentially it acquires from the first resource data divided into the data length of a predetermined unit, for each acquired the resource data, stores the location in advance start tag and end tag appeared and the Web in a page whether contains viewing prohibited contents determined before each cut data source, if the it is determined to contain a viewing prohibited contents, the end tag of the viewing prohibited contents position but which appeared, a position in which the start tag corresponding to the closing tag is encountered, before the start tag and the end tag appears Resource data identifies each case where said start tag and the end tag appears in separate the resource data, the Web page based on the said start tag and the end tag, the viewing prohibited content is displayed range above (hereinafter, "viewing prohibited range" hereinafter) is specified for each prior Symbol resource data, said viewing prohibited range specified, the place of the viewing prohibited contents, other same size as the viewing prohibited contents wherein the resource data the viewing prohibited range is identified as the display contents are displayed by replacing each said along with the resource data which the replacement is not performed, and outputs sequentially the browser the resource data that is substituted, the to.
Also, the browsing-control method according to the present invention is a viewing control method browsing control device for controlling the viewing of Web pages using a browser executes accepts request for viewing the Web page from the browser, the Web constituting the page, sequentially acquires from the first resource data divided into the data length of a predetermined unit, for each acquired the resource data, and storing the position in advance start tag and the end tag is encountered, the Web It determines whether contains viewing prohibited contents before each cut source data into the page, if the it is determined to contain a viewing prohibited contents, the end tag of the viewing prohibited contents appeared position When the position of the start tag corresponding to the closing tag is encountered, the resource data to which the start tag and the end tag appears The identified respectively, when said start tag and the end tag appears in separate the resource data, based on the said start tag and the end tag, on the Web page to which the viewing prohibited content is displayed range (hereinafter, referred to as "viewing prohibited ranges") to identify every prior Symbol resource data, the viewing prohibited range specified, the place of the viewing prohibited contents, other display contents of the same size with the viewing prohibited contents Each of the resource data for which the browsing prohibited range is specified is replaced so that is displayed , and the replaced resource data is sequentially output to the browser together with the resource data that has not been replaced. .
A browsing control program according to the present invention is a browsing control program that is executed by a browsing control device that controls browsing of a Web page using a browser, and receives a browsing request for the Web page from the browser. constituting sequentially acquires from the first resource data divided into the data length of a predetermined unit, for each acquired the resource data, and storing the position in advance start tag and the end tag is encountered, the Web pages If the viewing prohibited contents determined for each and whether the pre-cut source data is included, it is determined that the contains viewing prohibited contents within, a position where the end tag of the viewing prohibited contents appeared , a position in which the start tag corresponding to the closing tag is encountered, before the start tag and the end tag appears Resource data identifies each case where said start tag and the end tag appears in separate the resource data, the Web page based on the said start tag and the end tag, the viewing prohibited content is displayed range above (hereinafter, "viewing prohibited range" hereinafter) is specified for each prior Symbol resource data, said viewing prohibited range specified, the place of the viewing prohibited contents, other same size as the viewing prohibited contents the resource data the viewing prohibited range is identified as the display contents are displayed by replacing each said substituent is the along with the resource data that has not been made, and outputs sequentially the browser the resource data that is substituted, the process computer It is made to perform .
The browsing control apparatus according to the present invention is a browsing control apparatus that controls browsing of a web page using a browser, the browsing request acquisition means for acquiring a browsing request for the web page from the browser, and the web page Resource data acquisition means for acquiring resource data that constitutes, a determination means for determining whether or not browsing prohibited content is included in the Web page, and the browsing prohibition content is included in the determination means If determined, the specifying means for specifying the range on the Web page (hereinafter referred to as “browsing prohibited range”) where the browsing prohibited content is displayed, and the browsing prohibited range specified by the specifying means Replacing means for replacing the resource data so that other display contents in place of the browsing-prohibited contents are displayed; Characterized in that and an output means for outputting the resource data that is substituted in the browser by means.
この発明によれば、Webページ内に含まれる有害コンテンツ(閲覧禁止コンテンツ)が表示される範囲を特定し、その範囲を他の表示内容に置き換える。このため、Webページのレイアウトを崩すことなく、閲覧禁止コンテンツがブラウザ上に表示されるのを防ぐことができる。また、Webページ内の閲覧禁止コンテンツ以外は閲覧することができるため、当該Webページ内に含まれる有益なコンテンツの閲覧を阻害されることがない。 According to the inventions of this, to identify the extent to which harmful content to be included within the Web page (View prohibited content) is displayed, replace the range to the other display contents. For this reason, it is possible to prevent browsing prohibited content from being displayed on the browser without destroying the layout of the Web page. Further, since it is possible to browse contents other than the browsing-prohibited content in the web page, browsing of useful content included in the web page is not hindered.
また、この発明にかかる閲覧制御装置は、上記の発明において、前記リソースデータ取得手段は、前記リソースデータを所定単位のデータ長に分割して取得し、前記判断手段は、前記分割された前記リソースデータごとに前記判断をおこない、前記特定手段は、前記分割された前記リソースデータごとに前記閲覧禁止範囲を特定し、前記置換手段は、前記分割された前記リソースデータごとに前記置換をおこない、前記出力手段は、前記分割された前記リソースデータごとに前記ブラウザに出力することを特徴とする。 In the browsing control apparatus according to the present invention, in the above invention, the resource data acquisition unit acquires the resource data by dividing it into data lengths of a predetermined unit, and the determination unit acquires the divided resource The determination is performed for each data, the specifying unit specifies the browsing prohibition range for each of the divided resource data, and the replacement unit performs the replacement for each of the divided resource data, The output means outputs the divided resource data to the browser.
この発明によれば、分割されたリソースデータを取得するごとに処理をおこなうので、Webページ全体のリソースデータを処理するのと比較して、ブラウザへの出力を迅速におこなうことができる。また、分割されたリソースデータのみを処理すればよいので、Webページ全体のリソースデータを処理するのと比較して、閲覧制御装置内に確保する記憶領域を小さくすることができる。 According to inventions of this, since the process every time to get the divided resource data, as compared to process the resource data of the entire Web page, it can be rapidly output to the browser. Further, since only the divided resource data needs to be processed, it is possible to reduce the storage area secured in the browsing control device as compared to processing the resource data of the entire Web page.
また、この発明にかかる閲覧制御装置は、上記の発明において、前記特定手段は、前記リソースデータに含まれる前記閲覧禁止コンテンツの始点および終点に関する情報を検索して、前記閲覧禁止範囲を特定することを特徴とする。 In the browsing control device according to the present invention, in the above invention, the specifying unit searches the information related to a start point and an end point of the browsing prohibited content included in the resource data, and specifies the browsing prohibited range. It is characterized by.
この発明によれば、リソースデータのデータ構造を解析して閲覧禁止コンテンツの始点および終点を特定するので、正確に閲覧禁止範囲を特定することができる。また、たとえば1つの文章中でリソースデータが分割されている場合などでも、閲覧禁止範囲とすべき箇所を迅速に特定することができる。 According to inventions of this, since specifying the start and end points of view prohibited contents by analyzing the data structure of the resource data, it is possible to identify the exact viewing prohibited range. In addition, for example, even when resource data is divided in one sentence, it is possible to quickly specify a portion that should be a browsing prohibited range.
また、この発明にかかる閲覧制御装置は、上記の発明において、前記特定手段は、前記閲覧禁止コンテンツが表示される位置および前記閲覧禁止コンテンツの大きさを表す情報を前記リソースデータから検索して前記閲覧禁止範囲を特定し、前記置換手段は、前記閲覧禁止コンテンツが表示される位置に、前記閲覧禁止コンテンツと同じ大きさの前記他の表示内容が表示されるよう前記リソースデータを置換することを特徴とする。 In the browsing control device according to the present invention, in the above invention, the specifying unit searches the resource data for information indicating a position where the browsing prohibited content is displayed and a size of the browsing prohibited content. The browsing prohibition range is specified, and the replacement means replaces the resource data so that the other display content having the same size as the browsing prohibition content is displayed at a position where the browsing prohibition content is displayed. Features.
この発明によれば、閲覧禁止コンテンツが表示される位置に、閲覧禁止コンテンツと同じ大きさの他の表示をおこなうので、Webページのレイアウトを崩すことなく閲覧禁止コンテンツの表示を回避することができる。 According to the inventions of this, the position where the viewing prohibited content is displayed, since the other of the display of the same size as the viewing prohibited content, avoiding the display of browsing prohibited content without breaking the layout of the Web page Can do.
また、この発明にかかる閲覧制御装置は、上記の発明において、前記他の表示内容は、前記閲覧禁止範囲に表示されるコンテンツは有害である旨を報知する内容であることを特徴とする。 In the browsing control device according to the present invention, in the above invention, the other display content is a content for notifying that the content displayed in the browsing prohibited range is harmful.
この発明によれば、Webページ内に閲覧禁止コンテンツが含まれていることをユーザに報知することができる。 According to the inventions of this, it is possible to notify that it contains the viewing prohibited content in the Web page to the user.
また、この発明にかかる閲覧制御装置は、上記の発明において、前記閲覧制御装置は、クライアント装置に代わりインターネットに接続するプロキシサーバであり、前記ブラウザは、前記クライアント装置に搭載されていることを特徴とする。 The browsing control device according to the present invention is characterized in that, in the above invention, the browsing control device is a proxy server connected to the Internet instead of the client device, and the browser is mounted on the client device. And
この発明によれば、クライアント装置におけるWebページの閲覧を、プロキシサーバにて一元管理することができる。 According to the inventions of this, the view of the Web page in the client device, can be centrally managed by the proxy server.
また、この発明にかかる閲覧制御方法は、ブラウザによるWebページの閲覧を制御する閲覧制御装置における閲覧制御方法であって、前記ブラウザから前記Webページの閲覧要求を取得する閲覧要求取得工程と、前記Webページを構成するリソースデータを取得するリソースデータ取得工程と、前記Webページ内に閲覧禁止コンテンツが含まれているか否かを判断する判断工程と、前記判断工程で前記閲覧禁止コンテンツが含まれていると判断された場合、前記閲覧禁止コンテンツが表示される前記Webページ上の範囲(以下、「閲覧禁止範囲」という)を特定する特定工程と、前記特定工程で特定された前記閲覧禁止範囲に、前記閲覧禁止コンテンツに代わる他の表示内容が表示されるよう前記リソースデータを置換する置換工程と、前記置換工程で置換された前記リソースデータを前記ブラウザに出力する出力工程と、を含んだことを特徴とする。 The browsing control method according to the present invention is a browsing control method in a browsing control device that controls browsing of a web page by a browser, the browsing request acquisition step of acquiring a browsing request for the web page from the browser, A resource data acquisition step of acquiring resource data constituting a Web page, a determination step of determining whether or not browsing prohibited content is included in the Web page, and the browsing prohibition content included in the determination step If it is determined that the browsing prohibited content is specified, a range on the Web page in which the browsing prohibited content is displayed (hereinafter referred to as “browsing prohibited range”), and the browsing prohibited range specified in the specific step are specified. , A replacement process for replacing the resource data so that other display contents in place of the browsing prohibited contents are displayed. When, characterized in that it contains, and an output step of outputting the resource data that is substituted with the substitution step to the browser.
この発明によれば、Webページ内に含まれる有害コンテンツ(閲覧禁止コンテンツ)が表示される範囲を特定し、その範囲を他の表示内容に置き換える。このため、Webページのレイアウトを崩すことなく、閲覧禁止コンテンツがブラウザ上に表示されるのを防ぐことができる。また、Webページ内の閲覧禁止コンテンツ以外は閲覧することができるため、当該Webページ内に含まれる有益なコンテンツの閲覧を阻害されることがない。 According to the inventions of this, to identify the extent to which harmful content to be included within the Web page (View prohibited content) is displayed, replace the range to the other display contents. For this reason, it is possible to prevent browsing prohibited content from being displayed on the browser without destroying the layout of the Web page. Further, since it is possible to browse contents other than the browsing-prohibited content in the web page, browsing of useful content included in the web page is not hindered.
また、この発明にかかる閲覧制御プログラムは、上記の閲覧制御方法をコンピュータに実行させることを特徴とする。 A browsing control program according to the present invention causes a computer to execute the browsing control method described above .
この発明によれば、上記の閲覧制御方法をコンピュータに実行させることができる。 According to inventions of this, it is possible to execute the browsing control method in a computer.
以上説明したように、本発明にかかる閲覧制御装置、閲覧制御方法および閲覧制御プログラムによれば、一部に閲覧禁止コンテンツを含むWebページにおいて、Webページのレイアウトを保ったまま、閲覧禁止コンテンツのみを閲覧できないようにすることができる。 As described above, according to the browsing control device, the browsing control method, and the browsing control program according to the present invention, only the browsing-prohibited content is maintained while maintaining the layout of the Web page in the Web page partially including the browsing-prohibiting content. Can not be viewed.
以下に添付図面を参照して、この発明に係る閲覧制御装置、閲覧制御方法および閲覧制御プログラムの好適な実施の形態を詳細に説明する。 Exemplary embodiments of a browsing control device, a browsing control method, and a browsing control program according to the present invention will be explained below in detail with reference to the accompanying drawings.
(実施の形態)
(システム構成)
図1は、実施の形態にかかるWebページ閲覧システムのシステム構成を示す説明図である。実施の形態にかかるWebページ閲覧システム100は、プロキシサーバ110、クライアント120、管理用端末130によって構成される。プロキシサーバ110は、クライアント120(120a〜120c)によるインターネット140へのアクセスを制御する。より詳細には、プロキシサーバ110は、クライアント120からのHTTPリクエストの内容を分析してフィルタリングしたり(HTTPフィルタリング機能)、インターネット140上のWebサーバ150から送信されたWebページのリソースデータに対してコンテンツフィルタリングをおこなったりする(コンテンツフィルタリング機能)。
(Embodiment)
(System configuration)
FIG. 1 is an explanatory diagram illustrating a system configuration of the Web page browsing system according to the embodiment. The web
図2は、プロキシサーバによるインターネットへのアクセス制御を模式的に示した説明図である。まず、プロキシサーバ110は、クライアント120からWebページの閲覧要求(リクエストデータ)を受け付ける(ステップS201)。プロキシサーバ110は、リクエストデータに対するフィルタリングをおこなう(ステップS202)。フィルタリングの結果、許可できる閲覧要求であると判断された場合、プロキシサーバ110は当該Webページのリソースデータを提供するWebサーバ150に対して、リクエストデータを送信する(ステップS203)。リクエストデータに応答して、Webサーバ150からリソースデータ(レスポンスデータ)を受信すると(ステップS204)、プロキシサーバ110は、レスポンスデータに対してさらにフィルタリングをおこなう(ステップS205)。フィルタリングの結果、許可できるWebページであると判断された場合、プロキシサーバ110はリソースデータをクライアント120に返送する(ステップS206)。そして、クライアント120によるWebページの閲覧履歴または閲覧できなかった場合の履歴などをログ230に記録する(ステップS207)。
FIG. 2 is an explanatory diagram schematically showing access control to the Internet by a proxy server. First, the
ここで、ステップS202およびS205のフィルタリング処理では、設定ファイル210および各種フィルタ220を用いる。設定ファイル210は、個々のクライアント120やクライアント120のグループごとに、閲覧を許可するWebページが設定される。この設定には、WebページのURL他、Webページ内に含まれるキーワードやWebページの内容やジャンルなどが用いられる。設定ファイル210への設定は、管理用端末130によっておこなう。
Here, the
また、各種フィルタ220では、設定ファイル210の内容に基づいてフィルタリングがおこなわれる。たとえば、URLフィルタ221では、Webページの閲覧要求(HTTPリクエスト)に含まれるURLが、閲覧が禁止されているWebページのURLか否かを判断する。閲覧が禁止されているWebページのURLの場合は、当該Webページを提供するWebサーバ150にアクセスすることなく、当該Webページは閲覧禁止である旨をクライアント120に返送する。
The
ヘッダーフィルタ222は、リクエストデータやレスポンスデータのヘッダ情報を解析して、当該データが、閲覧が禁止されているWebページの閲覧要求またはリソースデータであるか否かを判断する。閲覧が禁止されているWebページの閲覧要求またはリソースデータである場合、プロキシサーバ110は、当該Webページは閲覧禁止である旨をクライアント120に返送する。
The
PICSフィルタ223は、PICS(Platform for Internet Content Selection)情報を用いてWebページをフィルタリングする。PICS情報は、インターネット140上のWebページの運営者によって付与された評価情報である。プロキシサーバ110は、Webページに付与されているPICS情報が、閲覧が禁止された内容を示すものである場合は、当該Webページは閲覧禁止である旨をクライアント120に返送する。
The PICS filter 223 filters Web pages using PICS (Platform for Internet Content Selection) information. The PICS information is evaluation information given by a web page operator on the
コンテンツフィルタ224は、レスポンスデータに含まれるWebページのコンテンツ(文章や画像など)を分析し、当該Webページが、閲覧が禁止されているコンテンツ(閲覧禁止コンテンツ)を含むか否かを判断する。
The
ここで、Webページに閲覧禁止コンテンツが含まれている場合、一般的には、当該Webページは閲覧禁止である旨をクライアント120に返送して、当該Webページを閲覧させないようにする。一方、実施の形態にかかるプロキシサーバ110では、Webページに閲覧禁止コンテンツが含まれている場合には、Webページ内の閲覧禁止コンテンツ部分のみを他の表示内容に置き換える。これにより、一部に有害なコンテンツを含むものの、全体としては有益なコンテンツを含むWebページなどを、適切な形で閲覧させることができる。
Here, when browsing prohibited content is included in the Web page, in general, the Web page is returned to the
なお、上述した各種フィルタ220は、ベイズフィルタなどの学習型フィルタである。たとえば、閲覧を禁止すべきWebページを発見した場合、管理用端末130から、このWebページを閲覧不可ページとして登録する。このとき、学習型フィルタでは、WebページのURLを記憶するのみならず、当該Webページの内容を学習する。これにより、類似する内容のWebページについても閲覧を阻止することができる。
The
図1の説明に戻り、クライアント120(120a〜120c)は、特定のグループにおいて使用される情報処理装置であり、たとえば学校において生徒が授業に使用する情報処理装置や、企業において従業員が使用する情報処理装置である。クライアント120としては、たとえばパーソナルコンピュータを用いることができる。それぞれのクライアント120には、インターネットブラウザが搭載されており、Webページの閲覧が可能である。しかし、クライアント120は、直接インターネット140に接続することはできず、プロキシサーバ110を介してWebページのリソースデータを取得してWebページを閲覧する。このとき、プロキシサーバ110では上述した各種のフィルタリング機能によって、クライアント120から有害なコンテンツを含むWebページを閲覧するのを阻止することができる。
Returning to the description of FIG. 1, the client 120 (120a to 120c) is an information processing device used in a specific group. For example, an information processing device used by a student in a class at school or an employee at a company. Information processing apparatus. As the
このように、クライアント120からのインターネット140へのアクセスを、プロキシサーバ110を用いて制限することによって、閲覧を禁止するWebページの管理を一元化しておこなうことができる。
In this way, by restricting access from the
管理用端末130は、クライアント120によって閲覧できるWebページを管理する。具体的には、管理用端末130は、各クライアント120におけるWebページの閲覧権限を設定ファイル210(図2参照)に登録したり、閲覧を禁止するWebページを各種フィルタ220(図2参照)に登録したりする。なお、管理用端末130は、閲覧を禁止するWebページのみならず、クライアント120に積極的に閲覧させたいWebページを登録できるようにしてもよい。また、管理用端末130とクライアント120とは、物理的に同一の端末であってもよく、たとえばログイン時にパスワード認証などによって管理権限の有無を切り替えられるようにしてもよい。
The
なお、本実施の形態では、本発明にかかる閲覧制御装置の機能をプロキシサーバ110が備えることとしているが、これに限らず、たとえば個々のクライアント120が閲覧制御装置の機能を備えるようにしてもよい。この場合、プロキシサーバ110を設置せず、個々のクライアント120が直接インターネット140に接続するようにしてもよい。
In this embodiment, the
(プロキシサーバ110のハードウェア構成)
つぎに、プロキシサーバ110のハードウェア構成について説明する。図3は、プロキシサーバのハードウェア構成を示すブロック図である。図3のように、プロキシサーバ110は、CPU301と、ROM302と、RAM303と、HDD(ハードディスクドライブ)304と、HD(ハードディスク)305と、FDD(フレキシブルディスクドライブ)306と、FD(フレキシブルディスク)307と、CD−RWD(CD−RWドライブ)308と、CD−RW309と、ディスプレイ310と、入力デバイス311と、ネットワークI/F312とを含んで構成されている。なお、上記の各構成301〜312は、それぞれバス320に接続されている。
(Hardware configuration of proxy server 110)
Next, the hardware configuration of the
上述のような構成のプロキシサーバ110において、CPU301は、プロキシサーバ110全体を制御する。また、ROM302は、本発明にかかる閲覧管理プログラムを記憶している。ROM302に記憶された閲覧管理プログラムは、CPU301からの制御に応じて読み出され実行される。また、RAM303は、CPU301のワークエリアとして使用される。
In the
HDD304は、CPU301の制御にしたがってHD305に対するデータのリード/ライトを制御する。HD305は、HDD304の制御にしたがって書き込まれたデータを記憶する記憶媒体である。また、HD305に記憶されたデータは、HDD304の制御に応じて適宜読み出される。
The
FDD306は、CPU301の制御にしたがってFD307に対するデータのリード/ライトを制御する。FD307は、FDD306の制御にしたがって書き込まれたデータを記憶する着脱自在の記憶媒体である。また、FD307に記憶されたデータは、FDD306の制御に応じて適宜読み出される。
The
CD−RWD308は、CPU301の制御にしたがってCD−RW309に対するデータのリード/ライトを制御する。CD−RW309は、CD−RWD308の制御にしたがって書き込まれたデータを記憶する着脱自在な記憶媒体である。また、CD−RW309に記憶されたデータは、CD−RWD308の制御に応じて適宜読み出される。
The CD-
ディスプレイ310は、CPU301の制御によって、カーソル、メニュー、ウィンドウ、あるいは文字や画像などの各種データを表示する。また、入力デバイス311は、文字、数値、各種指示などの入力のための複数のキーを備えたリモコン、キーボード、タッチパネルなどである。入力デバイス311は、リモコン、キーボード、タッチパネルのうちいずれか1つの形態によって実現されてもよいが、複数の形態によって実現することも可能である。
The
ネットワークI/F312は、通信ケーブルなどを介してLANやインターネット140などのネットワークに接続され、当該ネットワークとCPU301とのインターフェースとして機能する。プロキシサーバ110は、ネットワークI/F312を介してクライアント120やインターネット140と接続している。
The network I /
本実施の形態にかかるプロキシサーバ110は、上述したようなハードウェアを備えており、CPU301の制御によりROM302に記憶された閲覧制御プログラムを実行することにより、クライアント120によるWebページの閲覧を制御することができる。なお、クライアント120および管理用端末130についても、上述したプロキシサーバ110と同様のハードウェア構成を有する。
The
(プロキシサーバ110の機能的構成)
つづいて、プロキシサーバ110の機能的構成について説明する。図4は、プロキシサーバの機能的構成を示すブロック図である。プロキシサーバ110は、閲覧要求取得部411、リソースデータ取得部412、判断部413、特定部414、置換部415、出力部416によって構成され、クライアント120におけるブラウザ421を用いたWebページの閲覧を制御する。
(Functional configuration of proxy server 110)
Next, the functional configuration of the
閲覧要求取得部411は、クライアント120のブラウザ421からWebページの閲覧要求を取得する。Webページの閲覧要求は、所定のWebページのURLなどを含むリクエストデータである。閲覧要求取得部411は、具体的には、たとえば、ネットワークI/F312であり、LANなどを介して閲覧要求を取得する。
The browsing
リソースデータ取得部412は、Webページを構成するリソースデータを取得する。リソースデータ取得部412は、インターネット140(図2参照)を介してWebサーバ150(図2参照)にリソースデータのリクエストデータを送信する。そして、当該リクエストデータに対応してWebサーバ150から返信されたリソースデータを受信することによって、リソースデータを取得する。リソースデータ取得部412は、リソースデータを所定単位のデータ長、すなわちパケット単位に分割して取得する。
The resource
判断部413は、Webページ内に閲覧禁止コンテンツが含まれているか否かを判断する。判断部413は、たとえばリソースデータ内のテキストデータに所定の禁止語句が含まれている場合には、Webページに閲覧禁止コンテンツが含まれていると判断するまた、判断部413は、たとえば画像データ(拡張子が.jpgなどのデータ)のファイル名が所定の禁止語句を示す文字列と一致する場合は、当該画像データが閲覧禁止コンテンツであると判断する。判断部413は、分割されたリソースデータごと、すなわちパケットごとに上記の判断をおこなう。
The
特定部414は、判断部413で閲覧禁止コンテンツが含まれていると判断された場合、閲覧禁止コンテンツが表示されるWebページ上の範囲(以下、「閲覧禁止範囲」という)を特定する。特定部414は、たとえばリソースデータに含まれる閲覧禁止コンテンツの始点および終点に関する情報を前もって検索しておいて、閲覧禁止範囲を特定する。始点および終点に関する情報とは、たとえばリソースデータがHTMLで記述されている場合、HTMLの開始タグおよび終了タグである。また、特定部414は、閲覧禁止コンテンツが表示される位置および閲覧禁止コンテンツの大きさを表す情報をリソースデータから検索して閲覧禁止範囲を特定するようにしてもよい。たとえば、閲覧禁止コンテンツが画像コンテンツの場合、当該画像コンテンツが表示される位置および当該画像コンテンツの大きさを規定する情報をリソースデータ内から検索して、閲覧禁止範囲を特定する。特定部414は、分割されたリソースデータごと、すなわちパケットごとに上記の特定をおこなう。
When the determining
置換部415は、特定部414によって特定された閲覧禁止範囲に、閲覧禁止コンテンツに代わる他の表示内容が表示されるようリソースデータを置換する。他の表示内容とは、たとえば閲覧禁止範囲に表示されるコンテンツは有害である旨を報知する内容である。置換部415は、たとえば、閲覧禁止コンテンツが表示される位置に、閲覧禁止コンテンツと同じ大きさの他の表示内容が表示されるようリソースデータを置換する。置換部415は、分割されたリソースデータごと、すなわちパケットごとに上記の置換をおこなう。
The
出力部416は、置換部415によって置換されたリソースデータをブラウザ421に出力する。すなわち、出力部416は、閲覧要求取得部411で取得された閲覧要求に対応して、ブラウザ421にリソースデータを出力する。出力部416は、分割されたリソースデータごと、すなわちパケットごとにブラウザに出力する。
The
(プロキシサーバ110による閲覧制御処理)
つぎに、プロキシサーバ110による閲覧制御処理について説明する。上述したように、プロキシサーバ110では各種フィルタ220を用いてクライアント120によるWebページの閲覧を制御するが、以下の説明では、コンテンツフィルタ224(図2参照)によるフィルタリングに関する処理について説明する。
(Browsing control processing by proxy server 110)
Next, browsing control processing by the
図5は、プロキシサーバによる閲覧制御処理の手順を示すフローチャートである。図5のフローチャートにおいて、プロキシサーバ110は、クライアント120からWebページの閲覧要求があるまで待機する(ステップS501:Noのループ)。より詳細には、プロキシサーバ110は、クライアント120に搭載されたブラウザからWebページのリクエストデータが入力されるまで待機する。
FIG. 5 is a flowchart illustrating a procedure of browsing control processing by the proxy server. In the flowchart of FIG. 5, the
Webページの閲覧要求があると(ステップS501:Yes)、プロキシサーバ110は、当該Webページのリソースデータを提供するWebサーバ150に、当該Webページのリソースデータの送信を要求する(ステップS502)。より詳細には、プロキシサーバ110は、当該WebページのリクエストデータをWebサーバ150に送信する。なお、このときリクエストデータに対してURLフィルタ221などによるフィルタリングがおこなわれる。
When there is a web page browsing request (step S501: Yes), the
つぎに、プロキシサーバ110は、Webサーバ150からWebページのリソースデータのパケットを受信するまで待機する(ステップS503:Noのループ)。ここで、インターネット140上を流れるデータは、通常1500バイト未満のパケットに分割されて送信される。このため、プロキシサーバ110は、1つのWebページに対して複数のパケットを受信することとなる。
Next, the
リソースデータのパケットを受信すると(ステップS503:Yes)、プロキシサーバ110は、パケット内に閲覧禁止コンテンツが含まれているか否かを判断する(ステップS504)。閲覧禁止コンテンツを含んでいるか否かは、一般的なフィルタリング技術を用いて判断する。たとえば、パケット中のテキストデータ(文章)や画像ファイルの名称に特定の禁止語句が含まれているか否かを判断する。また、たとえば、周囲に禁止語句がある画像(より詳細には、禁止語句の周辺にリンクがある画像)は、当該禁止語句に関する画像である可能性が高いため、閲覧禁止コンテンツとする。
When the packet of resource data is received (step S503: Yes), the
閲覧禁止コンテンツが含まれている場合は(ステップS504:Yes)、Webページ内における閲覧禁止コンテンツの表示領域(表示範囲)を特定し(ステップS505)、その領域の表示を他の表示内容に置き換える(ステップS506)。より詳細には、リソースデータ内の閲覧禁止コンテンツ部分を削除して、代わりに他の表示内容を表示させるためのリソースデータを挿入する。ここで、他の内容とは、たとえば閲覧制御プログラムによって当該部分の表示が制限された旨を示唆する表示(たとえば、「閲覧は制限されました」などのメッセージ表示や、閲覧制御プログラムの名称を示すテキスト表示など)や、単色の塗りつぶし表示などである。 When browsing prohibited content is included (step S504: Yes), a display area (display range) of the browsing prohibited content in the Web page is specified (step S505), and the display of the area is replaced with other display contents. (Step S506). More specifically, the browsing-prohibited content portion in the resource data is deleted, and resource data for displaying other display contents is inserted instead. Here, the other contents are, for example, a message indicating that the display of the part has been restricted by the browsing control program (for example, a message display such as “Browsing is restricted”, or the name of the browsing control program). For example, a text display) or a solid color display.
そして、プロキシサーバ110は、リソースデータのパケットをクライアント120に返送する(ステップS507)。また、ステップS504で、閲覧禁止コンテンツが含まれていない場合は(ステップS504:No)、ステップS507に移行して、リソースデータのパケットをそのままクライアント120に返送する。Webページを構成するリソースデータのパケットをすべて受信するまでは(ステップS508:No)、ステップS503に戻り、以降の処理を繰り返す。そして、リソースデータのパケットをすべて受信すると(ステップS508:Yes)、本フローチャートによる処理を終了する。
Then, the
図6は、閲覧禁止コンテンツを含むWebページの表示例を示す説明図である。図6に示すWebページ600には、テキスト情報611,612および画像621,622が表示されている。このうち、テキスト情報611中の網掛け部611aおよび画像621は、閲覧禁止コンテンツ(たとえば、グロテスクな表現など)と判断され、閲覧制御プログラムによって表示が置き換えられている。一方で、テキスト情報612および画像622は、閲覧禁止コンテンツではないため、通常通りに表示されている。
FIG. 6 is an explanatory diagram illustrating a display example of a Web page including browsing-prohibited content. In the
このようにプロキシサーバ110における閲覧制御では、閲覧禁止コンテンツが表示される領域に、閲覧禁止コンテンツと同じ大きさの代替表示をおこなう。これに対して、たとえば単に閲覧禁止コンテンツの文字列を削除したり、画像を表示しないことによって閲覧禁止コンテンツの閲覧を禁止する方法も考えられる。しかし、この方法ではWebページのレイアウトが崩れたり、画像部分にリンク無効のアイコンが表示されたりして、Webページが見づらく必要な情報を得にくくなったり、閲覧者がシステムエラーと錯誤してしまうという問題がある。
Thus, in the browsing control in the
プロキシサーバ110における閲覧制御では、閲覧禁止コンテンツが表示される領域に、閲覧禁止コンテンツと同じ大きさの代替表示をおこなうことによって、Webページのレイアウトを崩すことなく、閲覧禁止コンテンツの閲覧を禁止することができる。このため、閲覧者は、Webページ上の閲覧禁止コンテンツ以外のコンテンツを快適に閲覧することができる。
In the browsing control in the
また、プロキシサーバ110における閲覧制御では、受信したパケットごとに閲覧禁止コンテンツの有無を判断する。これに対して、たとえば、Webページを構成するすべてのリソースデータを受信してから一括して判断をおこなう方法も考えられる。しかし、すべてのリソースデータを受信してから判断をおこなうには、すべてのリソースデータを保存できる大容量の記憶領域が常時必要となる。また、Webページの容量が極端に大きく、リソースデータの受信に長時間を要した場合、クライアント120でのWebページの表示が遅延してしまう。
In the browsing control in the
プロキシサーバ110における閲覧制御では、受信したパケットごとに閲覧禁止コンテンツの有無を判断するので、大容量の記憶領域を必要としない。また、判断が終了したパケットは逐次クライアント120に返送するので、クライアント120でのWebページの表示を逐次おこなうことができ、Webページの閲覧要求から表示開始までのレスポンス時間を短縮することができる。
In the browsing control in the
なお、プロキシサーバ110における閲覧制御では、受信したパケットごとに閲覧禁止コンテンツの有無を判断するので、Webページの構造(HTMLの構造)を不完全な状態で判断しなければならない。このため、プロキシサーバ110では、パケット内においてHTMLの本文が途切れていた場合、次回以降(または事前に)受信したパケットとの間でHTMLの開始タグおよび終了タグを特定することによって、置換すべき箇所を判断する。
In the browsing control in the
図7は、リソースデータのパケットを模式的に示す説明図である。図7には、第1のパケットデータ701と第2のパケットデータ702が示されている。このリソースデータは、同じWebページを構成するものであるが、HTMLの本文を示すタグ(<P></P>)内において、分割されてしまっている。第2のパケットデータ702にはドラッグに関する禁止語句が含まれているため、このWebページには閲覧禁止コンテンツが含まれていると判断できるが、第2のパケットデータ702のみでは置換すべき箇所を判断することができない。
FIG. 7 is an explanatory diagram schematically showing a packet of resource data. FIG. 7 shows
このため、第2のパケットデータ702に含まれるHTMLの終了タグ(</HTML>)と、これに対応するHTMLの開始タグ(<HTML>)、すなわち第1のパケットデータ701に含まれるHTMLの開始タグとを前もってチェックしておいて、置換すべき箇所を特定する。より詳細には、プロキシサーバ110は、それぞれのパケットデータを先頭から処理する際にタグが出現した位置を記憶しておく。そして、前もってチェックしたタグ情報を必要に応じて用いて、コンテンツの始点および終点を特定する。これにより、HTML本文が分割されて別パケットで送信されてきた場合でも、高速に閲覧禁止範囲を特定することができる。
For this reason, the HTML end tag (</ HTML>) included in the
以上説明したように、実施の形態にかかるプロキシサーバ110は、Webページ内に含まれる有害コンテンツ(閲覧禁止コンテンツ)が表示される範囲を特定し、その範囲を他の表示内容に置き換える。このため、Webページのレイアウトを崩すことなく、閲覧禁止コンテンツがブラウザ上に表示されるのを防ぐことができる。また、Webページ内の閲覧禁止コンテンツ以外は閲覧することができるため、当該Webページ内に含まれる有益なコンテンツの閲覧を阻害されることがない。
As described above, the
また、実施の形態にかかるプロキシサーバ110は、分割されたリソースデータを取得するごとに処理をおこなうので、Webページ全体のリソースデータを処理するのと比較して、ブラウザへの出力を迅速におこなうことができる。また、分割されたリソースデータのみを処理すればよいので、Webページ全体のリソースデータを処理するのと比較して、プロキシサーバ110内に確保する記憶領域を小さくすることができる。
Further, since the
また、実施の形態にかかるプロキシサーバ110は、リソースデータのデータ構造を逐次解析して閲覧禁止コンテンツの始点および終点を特定するので、正確に閲覧禁止範囲を特定することができる。また、たとえば1つの文章中でリソースデータが分割されている場合などでも、閲覧禁止範囲とすべき箇所を迅速に特定することができる。
Further, since the
また、実施の形態にかかるプロキシサーバ110は、閲覧禁止コンテンツが表示される位置に、閲覧禁止コンテンツと同じ大きさの他の表示をおこなうので、Webページのレイアウトを崩すことなく閲覧禁止コンテンツの表示を回避することができる。また、プロキシサーバ110において、閲覧禁止コンテンツに代える表示を、当該範囲に表示されるコンテンツは有害である旨を報知する内容であるようにすれば、Webページ内に閲覧禁止コンテンツが含まれていることをユーザに報知することができる。
In addition, since the
なお、本実施の形態で説明した閲覧制御方法は、あらかじめ用意されたプログラムをパーソナルコンピュータやワークステーションなどのコンピュータで実行することにより実現することができる。このプログラムは、ハードディスク、フレキシブルディスク、CD−ROM、MO、DVDなどのコンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行される。またこのプログラムは、インターネットなどのネットワークを介して配布することが可能な伝送媒体であってもよい。 The browsing control method described in the present embodiment can be realized by executing a program prepared in advance on a computer such as a personal computer or a workstation. This program is recorded on a computer-readable recording medium such as a hard disk, a flexible disk, a CD-ROM, an MO, and a DVD, and is executed by being read from the recording medium by the computer. The program may be a transmission medium that can be distributed via a network such as the Internet.
以上説明したように、本発明にかかる閲覧制御装置、閲覧制御方法および閲覧制御プログラムは、一部に有害なコンテンツを含むWebページの閲覧を制限するのに有用であり、特に、学校や会社など組織内に設置された複数の情報処理装置におけるWebページの閲覧を制限するプロキシサーバなどに適している。 As described above, the browsing control device, the browsing control method, and the browsing control program according to the present invention are useful for restricting browsing of web pages that partially contain harmful content, and in particular, schools and companies. It is suitable for a proxy server that restricts browsing of Web pages in a plurality of information processing apparatuses installed in an organization.
100 Webページ閲覧システム
110 プロキシサーバ
120(120a〜120c) クライアント
130 管理用端末
140 インターネット
150 Webサーバ
411 閲覧要求取得部
412 リソースデータ取得部
413 判断部
414 特定部
415 置換部
416 出力部
421 ブラウザ
DESCRIPTION OF
Claims (5)
前記ブラウザから前記Webページの閲覧要求を受け付け、
前記Webページを構成する、所定単位のデータ長に分割されたリソースデータを先頭から順次取得し、
取得された前記リソースデータごとに、事前に開始タグおよび終了タグが出現した位置を記憶し、
前記Webページ内に閲覧禁止コンテンツが含まれているか否かを前記リソースデータごとに判断し、
前記閲覧禁止コンテンツが含まれていると判断された場合、前記閲覧禁止コンテンツの終了タグが出現した位置と、当該終了タグに対応する前記開始タグが出現した位置と、当該開始タグおよび当該終了タグが出現する前記リソースデータをそれぞれ特定し、
前記開始タグと前記終了タグとが別々の前記リソースデータにおいて出現する場合は、当該開始タグと当該終了タグとに基づいて、当該閲覧禁止コンテンツが表示される前記Webページ上の範囲(以下、「閲覧禁止範囲」という)を前記リソースデータごとに特定し、
特定された前記閲覧禁止範囲に、前記閲覧禁止コンテンツに代わる、当該閲覧禁止コンテンツと同じ大きさの他の表示内容が表示されるよう前記閲覧禁止範囲が特定されたリソースデータをそれぞれ置換し、
前記置換がなされなかった前記リソースデータとともに、置換された前記リソースデータを順次前記ブラウザに出力する、
ことを特徴とする閲覧制御装置。 A browsing control device that controls browsing of a web page using a browser,
Receiving a browsing request for the web page from the browser;
Sequentially acquiring resource data divided into data lengths of a predetermined unit constituting the Web page from the top;
For each retrieved the resource data, and storing the position in advance start tag and the end tag is encountered,
Determines whether contains viewing prohibited contents in the Web page before each cut source data,
When it is determined that the browsing prohibited content is included, the position where the end tag of the browsing prohibited content appears, the position where the start tag corresponding to the end tag appears , the start tag, and the end tag Identify each of the resource data in which
When the start tag and the end tag appear in different resource data, based on the start tag and the end tag, the range on the Web page where the browsing prohibited content is displayed (hereinafter, “ a) that the viewing prohibited ranges "specific to each before Symbol resource data,
In place of the browsing-prohibited content, the resource data in which the browsing-prohibited range is specified are replaced with the specified browsing-prohibited range so that other display contents having the same size as the browsing-prohibited content are displayed,
Along with the resource data that has not been replaced, the replaced resource data is sequentially output to the browser.
The browsing control apparatus characterized by the above-mentioned.
前記ブラウザは、前記クライアント装置に搭載されていることを特徴とする請求項1または2に記載の閲覧制御装置。 The browsing control device is a proxy server that connects to the Internet instead of a client device,
The browsing control device according to claim 1, wherein the browser is mounted on the client device.
前記ブラウザから前記Webページの閲覧要求を受け付け、
前記Webページを構成する、所定単位のデータ長に分割されたリソースデータを先頭から順次取得し、
取得された前記リソースデータごとに、事前に開始タグおよび終了タグが出現した位置を記憶し、
前記Webページ内に閲覧禁止コンテンツが含まれているか否かを前記リソースデータごとに判断し、
前記閲覧禁止コンテンツが含まれていると判断された場合、前記閲覧禁止コンテンツの終了タグが出現した位置と、当該終了タグに対応する前記開始タグが出現した位置と、当該開始タグおよび当該終了タグが出現する前記リソースデータをそれぞれ特定し、
前記開始タグと前記終了タグとが別々の前記リソースデータにおいて出現する場合は、当該開始タグと当該終了タグとに基づいて、当該閲覧禁止コンテンツが表示される前記Webページ上の範囲(以下、「閲覧禁止範囲」という)を前記リソースデータごとに特定し、
特定された前記閲覧禁止範囲に、前記閲覧禁止コンテンツに代わる、当該閲覧禁止コンテンツと同じ大きさの他の表示内容が表示されるよう前記閲覧禁止範囲が特定されたリソースデータをそれぞれ置換し、
前記置換がなされなかった前記リソースデータとともに、置換された前記リソースデータを順次前記ブラウザに出力する、
ことを特徴とする閲覧制御方法。 A browsing control method executed by a browsing control device that controls browsing of a Web page using a browser,
Receiving a browsing request for the web page from the browser;
Sequentially acquiring resource data divided into data lengths of a predetermined unit constituting the Web page from the top;
For each retrieved the resource data, and storing the position in advance start tag and the end tag is encountered,
Determines whether contains viewing prohibited contents in the Web page before each cut source data,
When it is determined that the browsing prohibited content is included, the position where the end tag of the browsing prohibited content appears, the position where the start tag corresponding to the end tag appears , the start tag, and the end tag Identify each of the resource data in which
When the start tag and the end tag appear in different resource data, based on the start tag and the end tag, the range on the Web page where the browsing prohibited content is displayed (hereinafter, “ a) that the viewing prohibited ranges "specific to each before Symbol resource data,
In place of the browsing-prohibited content, the resource data in which the browsing-prohibited range is specified are replaced with the specified browsing-prohibited range so that other display contents having the same size as the browsing-prohibited content are displayed,
Along with the resource data that has not been replaced, the replaced resource data is sequentially output to the browser.
The browsing control method characterized by this.
前記ブラウザから前記Webページの閲覧要求を受け付け、
前記Webページを構成する、所定単位のデータ長に分割されたリソースデータを先頭から順次取得し、
取得された前記リソースデータごとに、事前に開始タグおよび終了タグが出現した位置を記憶し、
前記Webページ内に閲覧禁止コンテンツが含まれているか否かを前記リソースデータごとに判断し、
前記閲覧禁止コンテンツが含まれていると判断された場合、前記閲覧禁止コンテンツの終了タグが出現した位置と、当該終了タグに対応する前記開始タグが出現した位置と、当該開始タグおよび当該終了タグが出現する前記リソースデータをそれぞれ特定し、
前記開始タグと前記終了タグとが別々の前記リソースデータにおいて出現する場合は、当該開始タグと当該終了タグとに基づいて、当該閲覧禁止コンテンツが表示される前記Webページ上の範囲(以下、「閲覧禁止範囲」という)を前記リソースデータごとに特定し、
特定された前記閲覧禁止範囲に、前記閲覧禁止コンテンツに代わる、当該閲覧禁止コンテンツと同じ大きさの他の表示内容が表示されるよう前記閲覧禁止範囲が特定されたリソースデータをそれぞれ置換し、
前記置換がなされなかった前記リソースデータとともに、置換された前記リソースデータを順次前記ブラウザに出力する、
処理をコンピュータに実行させることを特徴とする閲覧制御プログラム。 A browsing control program to be executed by a browsing control device that controls browsing of a web page using a browser,
Receiving a browsing request for the web page from the browser;
Sequentially acquiring resource data divided into data lengths of a predetermined unit constituting the Web page from the top;
For each retrieved the resource data, and storing the position in advance start tag and the end tag is encountered,
Determines whether contains viewing prohibited contents in the Web page before each cut source data,
When it is determined that the browsing prohibited content is included, the position where the end tag of the browsing prohibited content appears, the position where the start tag corresponding to the end tag appears , the start tag, and the end tag Identify each of the resource data in which
When the start tag and the end tag appear in different resource data, based on the start tag and the end tag, the range on the Web page where the browsing prohibited content is displayed (hereinafter, “ a) that the viewing prohibited ranges "specific to each before Symbol resource data,
In place of the browsing-prohibited content, the resource data in which the browsing-prohibited range is specified are replaced with the specified browsing-prohibited range so that other display contents having the same size as the browsing-prohibited content are displayed,
Along with the resource data that has not been replaced, the replaced resource data is sequentially output to the browser.
A browsing control program for causing a computer to execute processing .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013265544A JP5922640B2 (en) | 2013-12-24 | 2013-12-24 | Browsing control device, browsing control method, and browsing control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013265544A JP5922640B2 (en) | 2013-12-24 | 2013-12-24 | Browsing control device, browsing control method, and browsing control program |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009193598A Division JP2011044116A (en) | 2009-08-24 | 2009-08-24 | Device, method, and program for controlling browsing |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014056612A JP2014056612A (en) | 2014-03-27 |
JP5922640B2 true JP5922640B2 (en) | 2016-05-24 |
Family
ID=50613814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013265544A Expired - Fee Related JP5922640B2 (en) | 2013-12-24 | 2013-12-24 | Browsing control device, browsing control method, and browsing control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5922640B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102458261B1 (en) | 2016-02-03 | 2022-10-25 | 삼성전자주식회사 | Electronic device and method for display controlling, and server and method therefor |
JP6948008B2 (en) * | 2017-08-09 | 2021-10-13 | サクサ株式会社 | Security monitoring device and security monitoring program |
JP6535781B1 (en) * | 2018-03-22 | 2019-06-26 | トビラシステムズ株式会社 | Program, content filtering system, and control method of terminal device |
JP2023017974A (en) * | 2022-11-14 | 2023-02-07 | チエル株式会社 | Learning system with filtering function |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005222207A (en) * | 2004-02-04 | 2005-08-18 | Duaxes Corp | Filtering method and device for communication data |
JP4683407B2 (en) * | 2004-12-28 | 2011-05-18 | キヤノンマーケティングジャパン株式会社 | Web management apparatus, web system, web management method, and program |
-
2013
- 2013-12-24 JP JP2013265544A patent/JP5922640B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2014056612A (en) | 2014-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10796076B2 (en) | Method and system for providing suggested tags associated with a target web page for manipulation by a useroptimal rendering engine | |
JP4157708B2 (en) | Method, apparatus, and computer program for providing content to client | |
US8584009B2 (en) | Automatically propagating changes in document access rights for subordinate document components to superordinate document components | |
JP2011044116A (en) | Device, method, and program for controlling browsing | |
US20120131485A1 (en) | System and method for providing interactive tab management in tabbed browsers | |
JP4699148B2 (en) | Keyword extraction device, keyword extraction program | |
US20070220145A1 (en) | Computer product, access-restricting method, and proxy server | |
JP2006185160A (en) | System, web server, method, and program for adding personalized value to a plurality of web sites | |
JP5922640B2 (en) | Browsing control device, browsing control method, and browsing control program | |
JP2010123115A (en) | Computing apparatus, web page content management method and computer-readable medium | |
JP2007102735A (en) | Creation method, information introduction system, creation device and computer program | |
US7904570B1 (en) | Configurable file placement | |
JP2009223485A (en) | Link tree creation program and creation device | |
CN101231655A (en) | Method and system for processing search engine results | |
KR102042722B1 (en) | Electronic Book Content Protection | |
JP2008135966A (en) | Image processor, image processing system, data managing method in image processor and computer program | |
JP4610543B2 (en) | Period extracting device, period extracting method, period extracting program implementing the method, and recording medium storing the program | |
US9594836B2 (en) | Adjusting search level detail | |
JP2011008600A (en) | Apparatus and method for processing image, image forming apparatus, and image processing program | |
US20090248673A1 (en) | Method of sorting web pages, search terminal and client terminal | |
JP2007249700A (en) | Document management device, document retrieval method, document retrieval program and recording medium | |
JP2006031191A (en) | Program, system, and method for generating tree structure information | |
JP4571648B2 (en) | WEB information providing apparatus, method thereof, and program | |
JP2008299788A (en) | Web server device, web server program, and management method of web server device | |
KR100573091B1 (en) | Personal banner creating program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140123 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140123 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140128 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140808 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140930 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20141201 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20150602 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160414 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5922640 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |