Printing device, system including printing device, and control method
By changing the authentication printing function-related information sent by the printing device according to the encryption status of the communication path and the type of printing client, the security issue of plaintext password transmission on the unencrypted communication path is solved and the security of the printing device is improved.
Patent Information
- Application Number
- CN202210550474.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-04-13
- Filing Date
- 2019-04-12
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2039-04-12
AI Technical Summary
When existing printing devices use the authenticated printing function, plaintext passwords may be transmitted on the unencrypted communication path, causing security issues.
The capability information related to the authenticated printing function sent by the printing device to the print client is changed according to whether the communication path between the devices is encrypted, and the availability of the authenticated printing function is appropriately changed through the encrypted or unencrypted communication path.
The security level is improved to prevent the leakage of plain text passwords on the communication path and enhance the security of the printing device.
Smart Images

Figure CN114885072B_ABST
Abstract
Description
[0001] (This application is a divisional application of an application filed on April 12, 2019, with application number 2019102958431 and invention title “PRINTING DEVICE, CONTROL METHOD OF PRINTING DEVICE, AND STORAGE MEDIUM”.) Technical Field
[0002] The present invention relates to a printing apparatus that prints an image on a sheet based on received print data. Background Art
[0003] A printing device is known that receives print data from a communication device via a network and prints an image on a sheet based on the received print data. In addition, in recent years, it is known to generate print data without the intervention of a printer driver (or print application) designed to use an individual printing device. For example, the following technology is known. First, print data is generated by a universal print client provided as a function of the operating system (OS) of the communication device or a universal print client provided by a device such as a print server on the cloud. The generated print data is then sent to the printing device. This universal print client has a mechanism for printing based on a network protocol (Internet Printing Protocol (IPP)) so that the printing device can perform printing. The printing device and the communication device communicate based on the protocol to perform printing.
[0004] Japanese Patent Laid-Open No. 2010-171473 discusses transmission of print data based on a network protocol such as IPP to an image processing apparatus found on a network by searching. Summary of the invention
[0005] According to some embodiments, a printing device includes: a receiving control component, which is configured to receive a request for obtaining attribute information of the printing device from a communication device; and a sending control component, which is configured to control, in response to receiving a request for obtaining attribute information of the printing device from the communication device via an encrypted communication path, sending attribute information including at least information indicating that authentication printing using a password is supported to the communication device as a response to the request, and is configured to control, in response to receiving at least a request for obtaining attribute information of the printing device from the communication device via an unencrypted communication path, sending attribute information including at least information indicating that the authentication printing is not supported to the communication device as a response to the request.
[0006] According to some embodiments, a control method for a printing device includes the following steps: performing receiving control to receive a request for obtaining attribute information of the printing device from a communication device; and performing sending control to send attribute information including at least information indicating support for authentication printing using a password to the communication device in response to a request for obtaining attribute information of the printing device received from the communication device via an encrypted communication path as a response to the request, and performing sending control to send attribute information including at least information indicating that authentication printing is not supported as a response to the request in response to at least a request for obtaining attribute information of the printing device received from the communication device via an unencrypted communication path.
[0007] According to some embodiments, a storage medium stores a program for causing a computer to perform operations, the operations comprising the following steps: performing receiving control to receive a request for obtaining attribute information of a printing device from a communication device; and performing sending control to, in response to receiving a request for obtaining attribute information of the printing device from the communication device via an encrypted communication path, send attribute information including at least information indicating that authentication printing using a password is supported to the communication device as a response to the request; and performing sending control to, in response to receiving at least a request for obtaining attribute information of the printing device from the communication device via an unencrypted communication path, send attribute information including at least information indicating that the authentication printing is not supported as a response to the request.
[0008] Further features of various embodiments will become apparent from the following description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 is a diagram illustrating an example of a printing system.
[0010] Figure 2 is a block diagram showing an example of a hardware configuration of a multifunction peripheral (MFP).
[0011] Figure 3 is a sequence diagram showing an example of a processing procedure in the printing system.
[0012] Figure 4 (A) and (B) are diagrams each showing an example of capability response.
[0013] Figure 5 is a flowchart showing an example of a control method performed by the MFP.
[0014] Figure 6 is a flowchart showing an example of a control method performed by the MFP.
[0015] Figure 7 is a flowchart showing an example of a control method performed by the MFP. DETAILED DESCRIPTION
[0016] In the case of printing using a universal print client that complies with the Internet Printing Protocol (IPP), the print client provides a function that complies with the capabilities of the printing device based on capability information received in advance from the printing device. For example, in a printing system that uses the IPP, a function for performing secure printing (also referred to as an "authentication printing function") is defined. In the case of using the authentication printing function, the print client sends a print job including a password such as a personal identification number (PIN) code set by a user to the printing device. Upon receiving print data including the password, the printing device controls so that printing is not performed until the password is input into the operation unit of the printing device.
[0017] In this case, the printing apparatus supporting the authenticated print function of the IPP transmits, as capability information, information indicating support for the authenticated print function and indicating support for an algorithm for hashing a password in authenticated print.
[0018] Furthermore, in the case of using the authentication printing function, generally, the print client hashes a password such as a PIN code based on a hash algorithm supported by the printing device and transmits the hashed password. However, depending on the type or version of the print client, there is a case where hashing of a password to be used for the authentication printing function is not supported. In the case of performing authentication printing in such a print client, there is a possibility that a plain text password that has not been hashed may flow on a communication path, thereby causing a security problem.
[0019] Various embodiments solve at least one of the above problems. Some embodiments are related to changing the capability information related to the authentication printing function to be sent from the printing device to the printing client according to whether the communication path between the devices is encrypted. Some embodiments also appropriately change the capability information related to the authentication printing function to be sent from the printing device to the printing client at the other end according to the encryption status of the communication path and the type of the printing client at the other end.
[0020] Some embodiments also improve the security level by changing the availability of the authentication printing function according to whether the communication path between the devices is encrypted. In addition, some embodiments provide a mechanism for appropriately changing the capability information related to the authentication printing function to be sent from the printing device to the print client at the other end according to the encryption status of the communication path and the type of the print client at the other end.
[0021] Exemplary embodiments will be described below with reference to the accompanying drawings. The following exemplary embodiments are not intended to limit all embodiments according to the scope of the claims, and not all combinations of features to be described in the exemplary embodiments are essential to the solutions in each embodiment.
[0022] First, refer to Figure 1 To illustrate the structure of the printing system according to the first typical embodiment. The printing system according to the present typical embodiment includes communication devices 102a and 102b (hereinafter sometimes collectively referred to as communication devices 102), a multifunction peripheral (MFP) 101, and an access point (AP) 103. On a network 100, the MFP 101 and the AP 103 are connected so as to be able to communicate with each other. In the present typical embodiment, the MFP 101 will be described as an example of a printing device. In addition, each of the communication devices 102a and 102b will be described as an example of a communication device. In the present typical embodiment, a case where each of the communication devices 102a and 102b is a mobile terminal such as a smart phone or a tablet terminal is described as an example. The communication device 102 can be a communication device such as a personal computer (PC).
[0023] Communication devices 102a and 102b can each communicate with MFP 101 on network 100 via AP 103. In the case where communication device 102 is a PC, communication device 102 can have a connection configuration for communicating with MFP 101 by connecting to network 100 via a local area network (LAN) cable.
[0024] In the present exemplary embodiment, the above structure is described as an example of a printing system, but the printing system is not limited to this structure. It is only necessary that one or more communication devices and a printing device are connected via a network so as to be able to communicate with each other. The communication via AP103 is, for example, wireless communication conforming to the Institute of Electrical and Electronics Engineers (IEEE) 802.11 series. In addition, the communication device 102 and the MFP 101 can be connected via a wireless network such as Wi-Fi Direct (Wi-Fi Direct). ) or Wi-Fi Sense (Wi-Fi ) etc. communicate with each other through direct wireless communication.
[0025] First, the MFP 101 will be described. The MFP 101 has a reading function of reading an image on a document and a printing function of printing an image on a sheet. The MFP 101 can perform a printing process based on print data received via a network. The MFP 101 also has a personal identification number (PIN) printing function. The PIN printing function stores print data for which a password such as a PIN code is set on the host side (communication device side) in a memory, and waits for printing until a password such as a PIN code is input via the operation unit of the MFP 101.
[0026] Figure 2 is a block diagram showing the hardware configuration of the MFP 101. The MFP 101 has a reading function of reading an image on a sheet and a printing function of printing an image on a sheet. The MFP 101 also has other functions including a file transmission function of transmitting image data to an external communication device.
[0027] In the present exemplary embodiment, the MFP 101 is described as an example of a printing apparatus, but the printing apparatus is not limited to this example. For example, the printing apparatus may be a printing apparatus such as a single function peripheral (SFP) that does not have a reading function.
[0028] The control unit 110 includes a central processing unit (CPU) 111, and controls the operation of the entire MFP 101. The CPU 111 performs various controls such as printing control and reading control by reading out a control program stored in a read-only memory (ROM) 112 or a memory 114. The ROM 112 stores control programs that the CPU 111 can execute. The random access memory (RAM) 113 is the main memory of the CPU 111, and is used as a work area or temporary storage area for executing various control programs. The memory 114 stores print data, image data, various programs, and various setting information. In the present exemplary embodiment, it is assumed that the memory 114 is an auxiliary storage device such as a hard disk drive (HDD), but a non-volatile memory such as a solid state drive (SSD) can be used instead of the HDD. In this way, a computer is configured using a plurality of hardware including the CPU 111, the ROM 112, and the RAM 113.
[0029] In the MFP 101 according to the present exemplary embodiment, one CPU 111 uses one memory (RAM 113) to perform each operation shown in the flowchart described later, but other modes may be adopted. For example, each operation shown in the flowchart described later may be performed by the cooperation of multiple CPUs, RAMs, ROMs, and memories. In addition, some operations may be performed using hardware circuits such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA).
[0030] An operation unit interface (I / F) 115 connects an operation unit 116 and the control unit 110. The operation unit 116 includes a liquid crystal display having a touch panel function and various hardware keys, and functions as a display unit for displaying information and a receiving unit for receiving a user's instruction.
[0031] The reading unit I / F 117 connects the reading unit 118 and the control unit 110. The reading unit 118 generates a read image by reading the original. The generated read image is stored in the memory 114 or the RAM 113. The read image generated by the reading unit 118 can be sent to a communication device and used for image printing on a sheet.
[0032] The image processing unit 124 includes a raster image processor (RIP) that generates a print image by rasterizing print data received via a network. The print unit I / F 119 connects the print unit 120 and the control unit 110. The print image generated by analyzing the print data using the image processing unit 124 is transmitted from the control unit 110 to the print unit 120 via the print unit I / F 119. The print unit 120 receives a control command and print image data from the control unit 110, and prints an image based on the image data on a sheet fed from a feed cassette (not shown). The printing method of the print unit 120 may be an electrophotographic method, or may be an inkjet method. Other printing methods including a thermal transfer method are also applicable. The sheet processing unit I / F 121 connects the control unit 110 and the sheet processing unit 122. The sheet processing unit 122 receives a control command from the CPU 111, and post-processes the sheet printed by the print unit 120 based on the control command. For example, the sheet processing unit 122 performs post-processing such as aligning a plurality of sheets, punching holes in sheets, and stapling a plurality of sheets.
[0033] Furthermore, the control unit 110 is connected to the network 100 via a communication unit I / F 123. The communication unit I / F 123 transmits image data and information to a communication device on the network 100, and receives print data and information from a communication device on the network 100.
[0034] Reference Figure 1 , the communication devices 102a and 102b will be described. The communication devices 102a and 102b each include a print client compliant with IPP. The print client has a function of searching for a print device and receiving print settings for print data. In addition, the print client has a function of sending print data to a desired print device.
[0035] On the other hand, in the case of printing using a universal print client that complies with the IPP, the print client provides functions that comply with the capabilities of a printing device such as the MFP 101 based on capability information received in advance from the printing device. The MFP 101 according to the present typical embodiment has a PIN printing function as a function for performing secure printing (also referred to as an "authentication printing function" or a "secure printing function"). In the present typical embodiment, in the case of using an authentication printing function such as the PIN printing function, the print client sends a print job including a password such as a PIN code set by a user to the printing device. Upon receiving print data including the password, the MFP 101 performs control for not printing until the password is entered into the operation unit of the printing device. In the present typical embodiment, a printing device that supports an authentication printing function such as the PIN printing function sends information indicating support for the authentication printing function and indicating support for an algorithm for hashing a password in authentication printing as capability information.
[0036] Furthermore, in the case of using the PIN printing function, generally, the print client hashes a password such as a PIN code based on a hash algorithm supported by the printing device and transmits the hashed password. However, depending on the type or version of the print client, there is a case where hashing of a password to be used for the authentication printing function is not supported. In the case of attempting authentication printing in such a print client, there is a possibility that a plain text password that has not been hashed may flow on the communication path, thereby causing a security problem.
[0037] In view of such a problem, the present exemplary embodiment provides a mechanism for changing capability information related to the authenticated printing function to be sent from the printing device to the print client according to whether the communication path between the devices is encrypted. This mechanism will be specifically described below.
[0038] The communication sequence of the IPP in the present exemplary embodiment will be described below. Figure 3 1 is a sequence diagram showing an example of communication between the communication device 102 and the MFP 101. Here, a print client installed in the communication device 102a for performing IPP-compliant printing using an unencrypted communication path will be described. In contrast, a print client installed in the communication device 102b for performing IPP-compliant printing using an encrypted communication path will be described. The encrypted communication path means that the communication path established between the communication device and the image forming device for performing IPP-compliant data communication is encrypted by a protocol such as Transport Layer Security (TLS) or Secure Sockets Layer (SSL). Hereinafter, performing IPP-compliant printing using an encrypted communication path by SSL or TLS will be referred to as "IPPS".
[0039] In S301, the user of the communication device 102a performs a user operation for starting a print client via an operation unit of the communication device 102a. In S302, upon receiving the user operation for starting a print client, the communication device 102a broadcasts a search request to search for nearby printers such as image forming devices, etc. For example, a multicast domain name service (mDNS) may be used to perform the search request.
[0040] In S303, upon receiving the search request, the MFP 101 sends a response to the search. In S304, upon receiving a response from a printer such as the MFP 101, the communication device 102a sends a request for acquiring printer attribute information including the capabilities of the printer via an unencrypted communication path (IPP). The communication device 102a can be configured in such a manner that, in the event that a plurality of printers are found, the communication device 102a displays a selection screen (not shown) for confirming a printer, and sends a request to the printer selected via the selection screen.
[0041] At this time, it is assumed that the communication device 102 a sends a get request to the MFP 101 using the Get-Printer-Attributes command predefined by the IPP.
[0042] In S305, upon receiving the Get-Printer-Attributes command as a request to acquire printer attribute information via the unencrypted communication path, the MFP 101 transmits the attribute information of the MFP 101 as a response to the request. Figure 4 (A) and (B) of FIG. 1 are used to explain the attribute information to be sent by the MFP 101. Figure 4 (A) shows an example of attribute information to be transmitted as a response when an attribute information acquisition request is received via an unencrypted communication path. Figure 4 (A) shows the printer attribute information to be sent as a response to 304. The printer attribute information includes information indicating supported file types, information indicating that the PIN printing function is not supported, information indicating other printing capabilities, and information indicating post-processing capabilities. In this way, in the case where an attribute information acquisition request is received via an unencrypted communication path, attribute information including capability information indicating that the PIN printing function is not supported is sent as a response. Figure 4 The attribute information shown in (A) and (B) respectively is an example shown for the purpose of explanation, and the attribute name and the attribute value are not limited to this example.
[0043] Reference Figure 3In S306, upon receiving the attribute information, the communication device 102a updates the attribute information of the printer. This process puts the print client of the communication device 102a in a state where the print setting screen included in the capabilities of the printer can be displayed.
[0044] In S307, the communication device 102a then displays the print setting screen based on the attribute information updated in S306. More specifically, the print client of the communication device 102a displays the print setting screen with the settings related to the PIN print function grayed out or hidden based on the updated attribute information. Therefore, in the case of IPP-based printing in an unencrypted communication path, the setting of the PIN print function can be prohibited.
[0045] Next, the case where printing based on IPP is to be performed in an encrypted communication path will be described using the communication with the communication device 102b as an example. In S311 to S313, the communication device 102b and the MFP 101 perform the same process for searching for the MFP 101 as in S300 to S303. Subsequently, in S314, upon receiving a response from a printer such as the MFP 101, the communication device 102b sends a request for acquiring printer attribute information including the capabilities of the printer via the encrypted communication path (IPPS).
[0046] In S315 , upon receiving the Get-Printer-Attributes command as a request to acquire printer attribute information via the encrypted communication path, the MFP 101 transmits the attribute information of the MFP 101 as a response to the request. Figure 4 (B) shows an example of attribute information to be transmitted as a response when an attribute information acquisition request is received via an encrypted communication path. Figure 4 (B) shows the printer attribute information to be sent as a response to S314. The printer attribute information includes information indicating supported file types, information indicating support for the PIN printing function, and information indicating supported hash methods. The printer attribute information also includes information indicating other printing capabilities and information indicating post-processing capabilities. In this way, in the case where an attribute information acquisition request is received via an encrypted communication path, attribute information including capability information indicating support for the PIN printing function is sent as a response.
[0047] In S316 and S317, the communication device 102b performs the same processes for updating the attribute information and the process for displaying the print setting screen as in S306 and S307. The print client of the communication device 102b displays a print setting screen that can perform settings related to the PIN printing function based on the updated attribute information. The user can enable the PIN printing function via the print setting screen (not shown). After the print client of the communication device 102b sets the PIN code via the operation unit, it generates print data in response to receiving an operation to start printing. At this time, the print client uses the hash method supported by the MFP 101 to generate hash data of the PIN code and sends the generated hash data together with the print data.
[0048] <Control of MFP 101>
[0049] The control in the MFP 101 will be described. Figure 5 and 6 is a flowchart showing the control of the MFP 101. The CPU 111 realizes each operation (block) shown in the respective flowcharts by reading the programs for implementing the respective control modules stored in the ROM 112 or the memory 114 into the RAM 113 and executing the read programs. Figure 5 and 6 In the present exemplary embodiment, the processes including the print process and the data transmission and reception process are realized in cooperation with the hardware for implementing each I / F and each function.
[0050] Figure 5 The flowchart in shows the processes related to the transmission and reception of the attribute information in the MFP 101. In S501, the CPU 111 determines whether an attribute information acquisition request is received from an external terminal such as the communication device 102a or 102b. If an attribute information acquisition request is received from the external terminal (Yes in S501), the process proceeds to S502. If an attribute information acquisition request is not received from the external terminal (No in S501), the CPU 111 waits for the request.
[0051] In S502, the CPU 111 determines whether the attribute information acquisition request is received via an encrypted communication path in S501. If the attribute information acquisition request is received via a communication path encrypted by a protocol such as TLS / SSL (Yes in S502), the process proceeds to S503. If the attribute information acquisition request is received via an unencrypted communication path (No in S502), the process proceeds to S504.
[0052] In S503, the CPU 111 generates attribute information including information indicating support for the PIN printing function. The attribute information generated at this time is, for example, with reference to Figure 4 On the other hand, in S504, the CPU 111 generates attribute information including information indicating that the PIN printing function is not supported. The attribute information generated at this time is, for example, a reference Figure 4 Attribute information described in (A).
[0053] In S505, the CPU 111 transmits the attribute information generated in S503 or S504 as a response to the attribute information acquisition request received from the external terminal. Upon completion of the transmission, a series of processing operations ends.
[0054] Next, refer to Figure 6 The reception and printing processing of print data in the MFP 101 is described with reference to the flowchart in FIG.
[0055] In S601, the CPU 111 determines whether print data is received via the network 100. If print data is received (YES in S601), the process proceeds to S602. If print data is not received (NO in S601), the process proceeds to S606.
[0056] In S602, the CPU 111 determines whether the print attributes of the received print data include a setting indicating the execution of PIN printing. If the print attributes of the received print data include a setting indicating the execution of PIN printing ("Yes" in S602), the process proceeds to S603. If the print attributes of the received print data do not include a setting indicating the execution of PIN printing ("No" in S602), the process proceeds to S609.
[0057] In S603, the CPU 111 determines whether the security associated with PIN printing is maintained. In the case where the PIN code attached to the print data is hashed by a method supported by the MFP 101, or in the case where the print data is received via an encrypted communication path, the CPU 111 determines that the security associated with PIN printing is maintained. On the other hand, in the case where the print data is received via an unencrypted communication path and the PIN code attached to the print data is plain text, the CPU 111 determines that the security associated with PIN printing is not maintained. If the CPU 111 determines that the security associated with PIN printing is maintained ("Yes" in S603), the process proceeds to S604. If the CPU 111 determines that the security associated with PIN printing is not maintained ("No" in S603), the process proceeds to S605.
[0058] In S604, the CPU 111 stores the received print data in the storage area for PIN printing. When the storage is completed, the process returns to S601. On the other hand, in S605, the CPU 111 discards (e.g., deletes) the received print data, and the process returns to S601. In the case where the entire data is not encrypted and the PIN code is sent in plain text for PIN printing, this process can realize control of printing based on PIN printing.
[0059] Next, the execution of PIN printing will be described. In S606, the CPU 111 determines whether a user instruction for executing PIN printing is received. For example, in the case where the CPU 111 detects a user operation for selecting a display item from a menu screen (not shown) displayed on the operation unit 116 for PIN printing, the CPU 111 determines that a user instruction for executing PIN printing is received ("Yes" in S606), and the processing enters S607. On the other hand, in the case where the CPU 111 does not detect a user operation for selecting a display item for PIN printing, the CPU 111 determines that a user instruction for executing PIN printing is not received ("No" in S606), and the processing enters S610.
[0060] In S607, the CPU 111 receives input of a PIN code. More specifically, the CPU 111 displays a selection screen on the operation unit 116 so that the user can select data to be printed from the print data stored in the storage area for PIN printing of the memory 114. In addition, upon receiving a user operation for selecting print data, the CPU 111 displays an input screen for inputting a PIN code. When the "Confirm" key is pressed after the PIN code is input via the input screen, the process proceeds to S608.
[0061] In S608, the CPU 111 determines whether the PIN code attached as the "job password" attribute of the print data and the PIN code input in S607 are consistent with each other. In the case where the PIN code attached to the print data is not hashed (that is, in the case where the PIN code is plain text), the CPU 111 determines whether the PIN code attached to the print data and the input PIN code are consistent with each other. On the other hand, in the case where the PIN code attached to the print data is hashed, the CPU 111 determines whether the hash value of the attached PIN code and the hash value determined by hashing the PIN code input in S607 using a hash algorithm such as SHA-2 are consistent with each other. The type of hash algorithm is determined based on the print attribute of "job-password-encryption" attached to the print data. If the PIN code attached to the print data (or the hash value of the PIN code) and the PIN code (or the hash value of the PIN code) input in S607 are consistent with each other ("Yes" in S608), the process proceeds to S609. On the other hand, if the PIN code (or hash value of the PIN code) attached to the print data and the PIN code (or hash value of the PIN code) input in S607 do not coincide with each other (NO in S608), the process returns to S607, and the CPU 111 waits for the PIN code to be re-input.
[0062] In S609, the CPU 111 performs printing processing in cooperation with the image processing unit 124 and the printing unit 120. The CPU 111 generates a print image based on the print data in cooperation with the image processing unit 124. The generated print image is transmitted to the printing unit 120, and the printing unit 120 performs printing on a sheet, so that the print product is output to a sheet output tray (not shown).
[0063] On the other hand, in S610, the CPU 111 determines whether an instruction to disconnect the power supply is received. If an instruction to disconnect the power supply is received ("Yes" in S610), a series of processing operations ends. On the other hand, if an instruction to disconnect the power supply is not received ("No" in S610), the process returns to S601, and the CPU 111 waits for receiving print data or receiving a user operation.
[0064] In the present typical embodiment, the PIN printing function is described as an example of the authentication printing function, but the authentication printing function is not limited to this example. For example, a password can be used instead of a PIN code. Rules for defining whether to use a password or a PIN code for authentication can be set, for example, using the "job-password-repertoire-supported" operation defined by the Printer Working Group (PWG). In the case where the MFP 101 uses a PIN code for authentication, the MFP 101 can specify "iana_us-ascii_digits", which indicates that the password is formed only of digits (0x30 to 0x39) of the American Standard Code for Information Interchange (ASCII) characters. In the case where the MFP 101 uses a password for authentication, the MFP 101 can specify "iana_us-ascii_complex".
[0065] As described above, according to the present exemplary embodiment, the availability of the authenticated print function to be notified to the client can be changed depending on whether the communication path between devices is encrypted. Therefore, the plain text password flow on the unencrypted communication path can be prohibited, thereby improving the security level.
[0066] In addition, in the present exemplary embodiment, in the case where print data is received via an unencrypted communication path and in the case where the password of the authentication print function attached to the print data is not hashed, the print data is discarded. Therefore, it is possible to avoid printing based on print data with a possibility that the password is leaked to a third party. Therefore, the security level can be improved.
[0067] In the first exemplary embodiment, a mechanism for changing the availability of the authenticated print function to be notified to the client according to whether the communication path between devices is encrypted is described.
[0068] In addition to the first exemplary embodiment, the MFP 101 according to the second exemplary embodiment changes the availability of the authentication printing function according to the type of the print client at the other end of the communication. The second exemplary embodiment focuses on the existence of a print client that does not support the hashing of the password to be used for the authentication printing function and a print client that supports the hashing of the password to be used for the authentication printing function. In a print client that supports the hashing of the password to be used for the authentication printing function, the password used for authentication printing is hashed and the hashed password is sent even when print data is sent via an unencrypted communication path. In other words, a print client that supports the hashing of the password does not send the password in plain text via an unencrypted communication path. In view of this, in the second exemplary embodiment, in addition to the control according to the first exemplary embodiment, control of the MFP 101 is performed so that the availability of the authentication printing function to be notified to the print client changes based on the type or version of the print client.
[0069] In the second exemplary embodiment, the hardware configuration of each device is the same as that in the first exemplary embodiment. The configuration that is the same as that in the first exemplary embodiment will not be described in detail.
[0070] Figure 7 is a replacement for the one described in the first exemplary embodiment. Figure 5 101, and is a flowchart showing processing related to transmission and reception of attribute information in the MFP 101. Figure 5 In addition to the operations in the flowchart, S710 for determining the type of the print client is also provided.
[0071] In S701, the CPU 111 determines whether an attribute information acquisition request is received in the same manner as S501. If an attribute information acquisition request is received ("Yes" in S701), the process proceeds to S710. If an attribute information acquisition request is not received ("No" in S701), the process returns to S701.
[0072] In S710, the CPU 111 determines whether the print client that has sent the property information acquisition request is a client of a specific type. If the CPU 111 determines that the print client that has sent the property information acquisition request is a client of a specific type ("Yes" in S710), the process proceeds to S703. On the other hand, if the CPU 111 determines that the print client that has sent the property information acquisition request is not a client of a specific type ("No" in S710), the process proceeds to S702.
[0073] At this time, the attribute information acquisition request (Get-Printer-Attributes command) in the IPP is sent according to the method of the Hypertext Transfer Protocol (HTTP). The CPU 111 analyzes the HTTP header information included in the HTTP request for acquiring the attribute information of the printer, and the CPU 111 acquires the user agent (User-Agent) information of the print client that has sent the HTTP request. Information that is different based on the type or version of the print client is described as the user agent information included in the HTTP request. Subsequently, the CPU 111 determines whether the print client that has sent the request is a client of a specific type based on the acquired user agent information. It is assumed that the print client of a specific type satisfies the condition of being pre-confirmed as supporting the hash of the authentication print password. More specifically, the memory 114 of the MFP 101 stores a list of the following user agent information, wherein each of the user agent information corresponds to the print client that is pre-confirmed as supporting the hash of the authentication print password. If the acquired user agent information is included in the list, the CPU 111 determines that the print client is a client of a specific type. On the other hand, if the acquired user agent information is not included in the list, the CPU 111 determines that the print client is not a client of a specific type. In the present exemplary embodiment, the case of using a whitelist is described as an example, but the present exemplary embodiment is not limited to this example. Whether the print client is a specific type of client can also be determined based on a blacklist of user agent information listed as follows, wherein the user agent information each corresponds to a print client that is previously confirmed to not support the hash of the password.
[0074] The processing performed in S702 to S705 is respectively the same as the processing performed in S502 to S505 described in the first exemplary embodiment, and thus will not be described.
[0075] According to the second exemplary embodiment described above, in addition to performing the control according to the first exemplary embodiment, the availability of the authentication printing function can be changed according to the type of the print client at the other end of the communication. Therefore, if the print client supports the hashing of the password to be used for the authentication printing function, the authentication printing function can be used even via an unencrypted communication path.
[0076] Other embodiments
[0077] The embodiments of the present invention may also be implemented by providing software (program) for performing the functions of the above-described embodiments to a system or device via a network or various storage media, and a computer or a central processing unit (CPU) or a microprocessing unit (MPU) of the system or device reads and executes the program.
[0078] Although the present invention has been described with reference to exemplary embodiments, it is to be understood that the claims are not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
Claims
1. A printing device configured to support authenticated printing using a password, the printing device comprising: a receiving means configured to receive a request for acquiring attribute information of the printing device from a communication device, wherein a print setting screen is displayed on the communication device based on the attribute information; as well as A control component is configured to control so as to send the attribute information including at least information indicating that authentication printing using a password is not supported to the communication device as a response to the request based on receiving the request from the communication device via an unencrypted communication path, so that the communication device that receives the response cannot instruct the printing device to perform authentication printing using a password.
2. The printing device according to claim 1, wherein: The control section changes a response to the request based on the type of the communication device.
3. The printing device according to claim 1, wherein: The control section controls whether to include information indicating support for authenticated printing using a password in a response to the request based on the type of the communication device.
4. The printing device according to claim 1, wherein: The control section controls to transmit the attribute information including at least information indicating support for authenticated printing using a password to the communication device as a response to the request based on reception of the request from the communication device via an encrypted communication path.
5. The printing device according to claim 1 further includes a judgment component, which is configured to judge whether a request for obtaining attribute information of the printing device is sent via an encrypted communication path, and the control component switches whether to send the attribute information including at least information indicating that authentication printing using a password is supported or to send the attribute information including at least information indicating that authentication printing is not supported based on the judgment result of the judgment component.
6. The printing device according to claim 1, wherein: The control component controls to send the attribute information including at least information indicating that authentication printing using a password is supported to the communication device as a response to the request based on receiving the request from the communication device that supports a predetermined hash, and is configured to control to send the attribute information including at least information indicating that authentication printing is not supported to the communication device as a response to the request based on receiving the request from the communication device that does not support the predetermined hash.
7. The printing device according to claim 1, wherein: The request is sent via Internet Printing Protocol, IPP or IPPS communications.
8. The printing device according to claim 1, wherein: When the printing apparatus receives an instruction for authentication printing using a password, the printing apparatus performs printing if the input password satisfies a predetermined condition, and does not perform printing if the input password does not satisfy the predetermined condition.
9. A system comprising a communication device and a printing device, wherein the printing device is configured to support authenticated printing using a password, the system comprising: a receiving means configured to receive a request for acquiring attribute information of the printing device from a communication device, wherein a print setting screen is displayed on the communication device based on the attribute information; as well as A control component is configured to control so as to send the attribute information including at least information indicating that authentication printing using a password is not supported to the communication device as a response to the request based on receiving the request from the communication device via an unencrypted communication path, so that the communication device that receives the response cannot instruct the printing device to perform authentication printing using a password.
10. A method for controlling a printing device, wherein the printing device is configured to support authenticated printing using a password, the method comprising: performing reception control to receive a request for acquiring attribute information of the printing device from a communication device, wherein a print setting screen is displayed on the communication device based on the attribute information; as well as Control is performed to send the attribute information including at least information indicating that authentication printing using a password is not supported to the communication device as a response to the request based on the request received from the communication device via an unencrypted communication path, so that the communication device that receives the response cannot instruct the printing device to perform authentication printing using a password.
Citation Information
Patent Citations
Device for notifying network setting, method of setting network, program, and recording medium
JP2010171473A
Information processing apparatus capable of communicating with external authentication device
CN101094071A
Print instruction apparatus, printing apparatus, printing system, and print instruction method
CN101393588A
File printing control system based on smart password keys and achieving method thereof
CN105335109A
Printing system, printing device and method for giving printing command
CN1685306A
