1. Field of the Invention
The present invention relates to a network system, network device, access restriction method for the network device, storage medium, and program.
2. Related Background Art
Recent years have seen a rapid growth of an Internet that is run by means of networks connected with network devices such as computers and printers. Consequently, various applications have been developed that use the Internet. In the future, it is expected that such Internet applications will grow rapidly. In particular, network devices, such as printers connected to networks, are provided with Web server capabilities to allow a commercially available Web browser to access the network devices and refer to the status, print jobs, etc. of the network devices. The initial values or the like of such network devices are set by device managers. The device managers should take measures to restrict access to Web servers in order to prevent the settings to be overwritten by users during the maintenance of the network devices.
However, although it is possible to restrict access to a Web server and issue an error code such as “403 Forbidden” or the like when a user who is forbidden access to the Web server tries to access it, the amount of information contained in the error code is too small to explain to the user clearly why the access to the Web server was restricted. Also, although it is possible to notify the user of the restriction on access to the Web server by changing an HTML file dynamically, the user's Web server displays the HTML file stored in its cache regardless of the HTML file's update date specified by the user. Consequently, the amount of display data cannot be reduced even if the HTML file was undated after the update date.
An object of the present invention is to make it possible to clearly explain to users the reason for restrictions on access to network devices.
Another object of the present invention is to make it possible to reliably explain to the users the reason for the latest access restriction.
Another object of the present invention is to reduce the amount of display data sent to the users.
Other objects of the present invention will be apparent from the following detailed description taken in connection with the accompanying drawings.
Now, the network system according to an embodiment of the present invention will be described below with reference to the drawings.
In
The color printer 101, MFP 102, the monochrome printer 103, the facsimile machine 104, and desktop PCs 111 and 112 are installed on the second floor of the building while the scanners 105 and 106 and notebook PC 113 are installed on the first floor of the building. The notebook PC 113, which is portable, can be disconnected from the LAN 100.
The desktop PCs 111 and 112 and notebook PC 113 are equipped with a Web browser to refer to the status, etc. of network devices equipped with Web server capabilities. These PCs are capable of HTTP-(Hypertext Transfer Protocol) based access to exchange HTML (Hypertext Markup Language) documents among the network devices.
At least one of the network devices described above is equipped with a Web server and at least one of the computers is equipped with a Web client.
Moreover, the network 100 is connected to the Internet 130 via a firewall 120 and further connected to another network 140 through the Internet 130.
Referring to
The data bus 204 is connected with peripheral devices such as a printer and facsimile machine. The control unit 200 consists of a CPU, ROM, RAM, backup RAM, etc. For example, according to a program stored in the ROM, the CPU judges whether a device is placed under maintenance, and decides to apply access restrictions if the device is under maintenance. The backup RAM stores a flag for the CPU to decide whether to apply access restrictions. The peripheral device control unit 201 sends and receives data to/from peripheral devices such as a printer and facsimile machine via the data bus 204.
The LAN protocol control unit 202 sends and receives data to/from other network devices or PCs via the LAN 100.
In
If it is judged in Step S302 that Web server access is not restricted (access is permitted) according to the access restriction information, the Web server goes to Step S303 and judges whether there is an “If-Modified-Since” request from the Web client.
The “If-Modified-Since” request here means a date/time-stamped request from the Web client. If the HTML file of the Web server has not been modified since that date, “Not Modified” is returned indicating that the HTML file has not been modified. This helps reduce the network load associated with downloading. If the Web client has cached the file that corresponds to the URL specified by the user, it sends out the “If-Modified-Since” request.
If it is judged in Step S303 that there is an “If-Modified-Since” request from the Web client, the Web server goes to Step S304, where it compares the date/time information stamped on the “If-Modified-Since” request with the date/time stamp on the HTML file retained by the Web client to judge whether the HTML file retained by the Web server has been updated. If it is judged in Step S304 that the file has not been updated since the date/time advised by the Web client, the Web server sends “Not Modified” to the Web client, indicating that the HTML file has not been modified (Step S305). On the other hand, if the HTML file has been updated, the Web server sends, as the updated file, the HTML file (Step S306) that corresponds to
Incidentally, in Step S306, the Web server sends the HTML file of the Top page specified by the device unless otherwise specified.
If it is judged in Step S303 that there is no “If-Modified-Since” request from the Web client, the Web server sends the HTML file (Step S306) that corresponds to
If it is judged in Step S302 that Web server access is restricted, the Web server goes to Step S307, where it judges whether there is an “If-Modified-Since” request from the Web client. If it turns out that there is no “If-Modified-Since” request from the Web client, the Web server notifies the user of the access restriction (Step S308) by sending to the Web client the HTML file prepared in advance to display information about the restriction on access to Web server and the reason for the restriction as shown in
On the other hand, if it is judged in Step S307 that there is an “If-Modified-Since” request from the Web client, the Web server performs the process of Step S308 described above and finishes the processing without judging whether the HTML file has been updated since the date/time of the HTML file retained by the Web client (Step S309).
At least one of the network devices including the color printer 101, MFP (multi function peripheral) 102 such as a copier that can be used as a network printer, monochrome printer 103, facsimile machine 104 is equipped with a Web server 401. Also, at least one of the desktop PCs 111 and 112 and notebook PC 113 is equipped with a Web client 402.
When the Web browser on the desktop PC 111 or 112 or notebook PC 113 sends packets to a Web client 400, specifying the Web server 401 by its URL, if the Web client 400 retains the Top page information of the Web server 401, the Web client 400 starts making an inquiry as to whether access to the Web server 401 is restricted, by using “GET/HTTP1.0 If-Modified-Since:Tuesday, 30-Feb-00 . . . ” as a data request (402) (Step S300 in
Next, the Web server 401 returns “GET Ack” to inform (403) the Web client that the data has been acquired securely and returns status (404) (Step S301 in
In
On the other hand, in
Typical examples of the Web browsers 500 and 503 include Microsoft Corp.'s Internet Explorer, Netscape Communications Corp.'s Netscape Communicator, etc.
According to this embodiment, if it has been determined to restrict access to the Web server (YES in Step S302), an HTML file (
Although the above embodiment uses an HTML file to provide device information, it may also use a text file, image file, etc. Besides, although in the above embodiment, a Web server has been installed on a network device, it may also be installed on a computer and send device information to the Web client by playing the role of a proxy server.
Although a process of restricting access to the Web server has been described in relation to the above embodiment, this process may be written as a program into a storage medium and then be performed through execution of the program read out from the storage medium. Possible candidates for the storage medium include a floppy disk, hard disk, CD-ROM, MO, etc., but the storage medium is not limited to any specific type, and any type can be used as long as it can store the above-mentioned program.
As described above in detail, the present invention can clearly explain to users the reason for restrictions on access to network devices.
Also, it is possible to reliably explain to the users the reason for the latest access restriction.
Besides, it is possible to reduce the amount of display data sent to the users.
Number | Date | Country | Kind |
---|---|---|---|
2000-176128 | Jun 2000 | JP | national |
2001-141774 | May 2001 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5852717 | Bhide et al. | Dec 1998 | A |
6028838 | Yamamura et al. | Feb 2000 | A |
6029175 | Chow et al. | Feb 2000 | A |
6138141 | DeSimone et al. | Oct 2000 | A |
6157930 | Ballard et al. | Dec 2000 | A |
6173311 | Hassett et al. | Jan 2001 | B1 |
6182142 | Win et al. | Jan 2001 | B1 |
6330561 | Cohen et al. | Dec 2001 | B1 |
6353855 | Hendren, III | Mar 2002 | B1 |
6415313 | Yamada et al. | Jul 2002 | B1 |
6438690 | Patel et al. | Aug 2002 | B1 |
6449367 | Van Wie et al. | Sep 2002 | B2 |
6463474 | Fuh et al. | Oct 2002 | B1 |
6594697 | Praitis et al. | Jul 2003 | B1 |
6606663 | Liao et al. | Aug 2003 | B1 |
6638314 | Meyerzon et al. | Oct 2003 | B1 |
6640307 | Viets et al. | Oct 2003 | B2 |
6678733 | Brown et al. | Jan 2004 | B1 |
7025209 | Hawkins | Apr 2006 | B2 |
7155723 | Swildens et al. | Dec 2006 | B2 |
Number | Date | Country | |
---|---|---|---|
20010052018 A1 | Dec 2001 | US |