Pass word protection for computer docking station

Abstract: Security is provided for a docking station (41). Within the docking station (41) a docking password (55) is stored. Upon a portable computer (40) being attached to the docking station (41), a password (51,52) stored in the portable computer (40) is compared to the docking password (55). If the password (51,52) stored in the portable computer (40) is equal to the docking password (55), the portable computer (40) is allowed to access the docking station (41). If the password (51,52) stored in the portable computer (40) is not equal to the docking password (55), the portable computer (40) is prevented from accessing the docking station (41).

Description: Background The present invention concerns docking stations for portable computers and pertains particularly to password protection for a computer docking station. Generally a portable computer, such as a notebook computer, a laptop computer or a palm top computer, is optimized to reduce size and weight. This often requires tradeoffs, for example, in the size of the display and keyboard, as well as the number and types of ports which are implemented. One way to increase the versatility of portable computers is to provide for a docking station. The docking station when connected to a portable computer provides for a number of different types of ports. These ports are used, for example, to drive a large monitor, communicate with various peripherals provide connection to a network, and so on. See for example, USPN 5,283,714 issued to Collins Tsai, et al, for "Docking Apparatus for a Portable Computer." The docking station may reside in a permanent location with ports connected to various devices. When "at the office" a user can take advantage of the power of a full desktop computer by connecting the portable computer to the docking station. When "on the road" the user has the advantage of a light weight and small sized personal computer. Typically, a docking station can be accessed by any portable computer with a matching interface. This however, can allow for a weakness in security. Particularly, any portable computer which is able to dock to a docking station can gain access to networks, storage devices such as disk drives, printers, etc. which are attached to the docking station. In some environments such free access is undesirable. One way to prevent access to a docking station is to use a mechanical lock which requires a physical key. When the docking station is not in used, the mechanical lock can be used to prevent unauthorized docking to the docking station. In order to access the locked docking station using a personal computer, a user is required to unlock the docking station using the physical key. However, some users may view this security method as inconvenient. Further, in order to use this security method it is necessary to keep track of the physical key. Japanese Patent Application No. 09305249 discloses a portable personal computer and a docking unit, both of which are provided with passwords. The docking unit is only usable when the passwords match each other. Summary of the Invention In accordance with the preferred embodiment of the present invention, security is provided for a docking station. Within the docking station a docking password is stored. Upon a portable computer being attached to the docking station, a password stored in the portable computer is compared to the docking password. If the password stored in the portable computer is equal to the docking password, the portable computer is allowed to access the docking station. If the password stored in the portable computer is not equal to the docking password, the portable computer is prevented from accessing the docking station. In the preferred embodiment, a security activation flag is also stored within the docking station. When the security activation flag is true, the docking password is used as described above. When the security activation flag is not true, no security is implemented and upon a portable computer being attached to the docking station, the portable computer is allowed to access the docking station. Likewise, when the docking password has a null value, security is not implemented and upon a portable computer being attached to the docking station, the portable computer is allowed to access the docking station. Also in the preferred embodiment, an administrator password activation flag is stored within the docking station. When the administrator password activation flag is true, this indicates that an administrator password is to be used as the password which is compared to the docking password. When the administrator password activation flag is not true, this indicates that a user password is to be used as the password which is compared to the docking password. However, when the administrator password activation flag is not true and the user password has a null value, the administrator password is used as the password which is compared to the docking password. The present invention allows for simple, elegant and automatic way to provide protection for a docking station. The protection does not require a user or administrator to utilize a separate password. Additionally there is no physical key of which there is a need to keep track. Brief Description of the Drawings Figure 1 is a simplified illustration of a portable computer and a docking station. Figure 2 is a simplified illustration which portrays the portable computer and the docking station shown in Figure 1 in a docked position. Figure 3 is a simplified block diagram which shows various flags and passwords stored in the portable computer and the docking station shown in Figure 1, in accordance with a preferred embodiment of the present invention. Figure 4 is a flowchart which illustrates how the various flags and passwords stored in the portable computer and the docking station shown in Figure 1 are used to provide security to the docking station in accordance with a preferred embodiment of the present invention. Figure 5 and Figure 6 are flowcharts which illustrate how the various flags and passwords stored in the portable computer and the docking station are changed in accordance with a preferred embodiment of the present invention. Description of the Preferred Embodiment Figure 1 shows a docking station 41 which provides for communication with a portable computer 40. Figure 2 shows portable computer 40 in a docked position with docking station 41. In Figure 2, the back side of docking station 41 is shown to include, for various ports, a physical connector 31, a physical connector 32, a physical connector 33, a physical connector 34, a physical connector 35 and a physical connector 36. A physical connector 37 for power is also shown. Physical connectors 31 through 36 are illustrative physical connectors for various types of ports which may include, for example, one or more serial ports, parallel ports, PS/2 ports, universal serial bus (USB) ports, network connection/port or some other combination of standard or non-standard ports used in conjunction with a personal computer. The present invention prevents docking station 41 (and thus devices attached to physical connectors 31 through 36) from being accessed by portable computer 40 unless portable computer 40 has been authorized to use docking station 41. Figure 3 shows various flags and passwords stored in portable computer 40 and docking station 41 in order to implement this security feature. Figure 3 shows an administrator (or supervisor) password (ADMINPWD) 51 and a user password (USERPWD) 52 stored in non-volatile memory (such as an EEPROM) within portable computer 40. Administrator password 51 is used by a system administrator to protect portable computer 40 from unauthorized configuration changes by the end user. If the user of portable computer 40 is also the administrator, administrator password 51 may also be used instead of user password and user password 52 can be left blank (NULL). User password 52 is used by the user of portable computer 40 to prevent unauthorized access to portable computer 40. For example, user password 51 must be entered into portable computer 40 before portable computer will allow access to information and programs stored on personal computer 40. Administrator password 51 may be entered whenever user password 52 is requested. In a typical system the administrator can configure the system to require entry of administrator password 51 before allowing portable computer 40 to undock from docking station 41. For more information on use of administrator passwords and user passwords, see for example, HP OmniBook 800 User's Guide, 1996 available on the internet at http://www.hp.com/go/omnibook or from Hewlett-Packard Company, Mobile Computing Division, 1000 N. E. Circle Blvd., Corvallis, Oregon 97330. While use of administrator password 51 and user password 52, as described above, protects portable computer 40 from unauthorized access and protects portable computer 40 from unauthorized removal from docking station 41, such use of administrator password 51 and user password 52 does not protect devices connected to docking station 41 from being accessed by inserting into docking station 41a different portable computer of the same kind as portable computer 40. To prevent the unauthorized use of docking station 41, a docking password (DOCKPWD) 55 is stored in non-volatile memory (such as an EEPROM) within docking station 41. When security for docking station 41 is activated, portable computer 40 (or any other portable computer) is not allowed access to docking station 41 unless docking password 55 matches administrator password 51 or user password 52. In the preferred embodiment, a security activation flag (NEEDDOCKPWD) 53 is stored in non-volatile memory within docking station 41. When security activation flag 53 is true, this indicates that security for docking station 41 has been activated and that no portable computer is allowed access to docking station 41 unless docking password 55 matches an administrator password or a user password stored in the portable computer, as further described below. When security activation flag 53 is false, this indicates that security for docking station 41 has been deactivated and that a portable computer can have access to docking station 41 without requiring a match for docking password 55. Also in the preferred embodiment, an administrator password activation flag (DOCKPWDADMIN) 54 is also stored in non-volatile memory within docking station 41. When administrator password activation flag 54 is true, this indicates that when security for docking station 41 has been activated, no portable computer is allowed access to docking station 41 unless docking password 55 matches the administrator password stored in the portable computer. When administrator password activation flag 54 is false, this indicates that when security for docking station 41 has been activated, no portable computer is allowed access to docking station 41 unless docking password 55 matches the user password stored in the portable computer. In the case where the user password is null and administrator password activation flag 54 is false, no portable computer is allowed access to docking station 41 unless docking password 55 matches the administrator password stored in the portable computer. The presence of administrator password activation flag 54 accomplishes the goal of allowing groups of portable computers to access a single shared docking station. When administrator password activation flag 54 is true, this allows any portable computer with a matching administrator password to use docking station 41. Each such portable computer is able to utilize docking station 41 while still retaining a unique user password. Figure 4 is a flowchart which illustrates how the various flags and passwords stored in portable computer 40 and docking station 41 are used to provide security to docking station 41. In the embodiment shown in Figure 4, the described flowchart is performed in portable computer 40, for example using a processor 56 shown in Figure 3. In an alternative embodiment of the present invention, the flowchart may be performed within docking station 41 using a processor 57 shown in Figure 3. The docking password handling routine is entered in a step 61. In a step 62, security activation flag (NEEDDOCKPWD) 53 and administrator password activation flag (DOCKPWDADMIN) 54 are fetched from docking station 41. In a step 63 a check is made to see if security activation flag (NEEDDOCKPWD) 53 is true. If in step 63 security activation flag (NEEDDOCKPWD) 53 is false, in a step 71, docking station 41 is enabled. If in step 63 security activation flag (NEEDDOCKPWD) 53 is true, in a step 64, docking password (DOCKPWD) 55 is fetched from docking station 41. In a step 65 a check is made to see if docking password (DOCKPWD) 55 is NULL. If in step 65 docking password (DOCKPWD) 55 is NULL, in step 71, docking station 41 is enabled. If in step 65 docking password (DOCKPWD) 55 is not NULL, in a step 66, a check is made to see if administrator password activation flag (DOCKPWDADMIN) 54 is true. If in step 66, administrator password activation flag (DOCKPWDADMIN) 54 is true, a step 67 is skipped. If in step 66, administrator password activation flag (DOCKPWDADMIN) 54 is not true, in step 67, a check is made to see if user password (USERPWD) 52 is null. If in step 67, password (USERPWD) 52 is null, in a step 68 a check is made to see if administrator password (ADMINPWD) 51 is equal to docking password (DOCKPWD) 55. If in step 68 administrator password (ADMINPWD) 51 is equal to docking password (DOCKPWD) 55, in step 71 docking station 41 is enabled. If in step 68 administrator password (ADMINPWD) 51 is not equal to docking password (DOCKPWD) 55, in a step 70 docking station 41 is not enabled. If in step 67, password (USERPWD) 52 is not null, in a step 69 a check is made to see if user password (USERPWD) 52 is equal to docking password (DOCKPWD) 55. If in step 69 user password (USERPWD) 52 is equal to docking password (DOCKPWD) 55, in step 71 docking station 41 is enabled. If in step 69 user password (USERPWD) 52 is not equal to docking password (DOCKPWD) 55, in step 70 docking station 41 is not enabled. In order to maintain coherence between docking password 55 and an associated password within portable computer 40, when the associated password in portable computer 40 is updated, docking password 55 must be updated as well. For example, when administrator password activation flag 54 is true, when administrator password 51 is updated, then docking password 55 is updated as well. Likewise, when administrator password activation flag 54 is false, when user password 52 is updated, then docking password 55 is updated as well. Coherence between docking password 55 and an associated password within portable computer 40 is best maintained by changing the associated password only when portable computer 40 is docked to docking station 41. Figure 5 is a flowchart which illustrates how user password (USERPWD) 52 is changed. The user password set-up routine is entered in a step 81. In a step 82 a check is made to see if the current value of user password (USERPWD) 52 is NULL. If not, in a step 83 a password is received from a user of the user password set-up routine. In a step 84, a check is made to see if the password received from the user is equal to user password (USERPWD) 52. If in step 83, the password received from the user is equal to user password (USERPWD) 52, or if in step 82 the current value of user password (USERPWD) 52 is NULL, the user password set-up routine proceeds to a step 85. In step 85, the user can change the value of user password 52. As illustrated by a step 86, the user password set-up routine waits for the user to indicate changes are complete (e.g., by selecting an OK button in a user set-up window) before proceeding to a step 87. In step 87 a check is made to see if security activation flag (NEEDDOCKPWD) 53 is true. If in step 87 security activation flag (NEEDDOCKPWD) 53 is not true, in a step 90, the user password set-up routine is exited. If in step 87 security activation flag (NEEDDOCKPWD) 53 is true, in a step 88 a check is made to see if administrator password activation flag (DOCKPWDADMIN) 54 is true. If in step 88 administrator password activation flag (DOCKPWDADMIN) 54 is true, then in step 90, the user password set-up routine is exited. If in step 88 administrator password activation flag (DOCKPWDADMIN) 54 is not true, in a step 89, docking password (DOCKPWD) 55 is set equal to user password (USERPWD) 52. Then in step 90, the user password set-up routine is exited. Figure 6 is a flowchart which illustrates how administrator password (ADMINPWD) 51 is changed. The administrator password set-up routine is entered in a step 91. In a step 92 a check is made to see if the current value of administrator password (ADMINPWD) 51 is NULL. If so, in a step 93 a password is received from a user of the administrator password set-up routine. In a step 94, a check is made to see if the password received from the user is equal to administrator password (ADMINPWD) 51. If in step 94, the password received from the user is equal to administrator password (ADMINPWD) 51, or if in step 92 the current value of administrator password (ADMINPWD) 51 is NULL, the administrator password set-up routine proceeds to a step 95. In step 95 an administrator set-up window allows the administrator to change the values of administrator password 51, security activation flag 53 and/or administrator password activation flag 54. As illustrated by a step 96, the administrator password set-up routine waits for the administrator to indicate changes are complete (e.g., by selecting an OK button in the administrator set-up window) before proceeding to a step 97. In step 97 a check is made to see if security activation flag (NEEDDOCKPWD) 53 is true. If in step 97 security activation flag (NEEDDOCKPWD) 53 is not true, in a step 100, the administrator password set-up routine is exited. If in step 97 security activation flag (NEEDDOCKPWD) 53 is true, in a step 98 a check is made to see if administrator password activation flag (DOCKPWDADMIN) 54 is true. If in step 98 administrator password activation flag (DOCKPWDADMIN) 54 is true, in a step 101, docking password (DOCKPWD) 55 is set equal to administrator password (ADMINPWD) 51. Then in step 100, the administrator password set-up routine is exited. If in step 98 administrator password activation flag (DOCKPWDADMIN) 54 is not true, in a step 102, a check is made to see if user password (USERPWD) 52 is equal to NULL. If in step 102, user password (USERPWD) 52 is equal to NULL, in a step 99 docking password (DOCKPWD) 55 is set equal to administrator password (ADMINPWD) 51. Then in step 100, the password set-up routine is exited. If in step 102, user password (USERPWD) 52 is not equal to NULL, in step 100, the password set-up routine is exited. The foregoing discussion discloses and describes merely exemplary methods and embodiments of the present invention. As will be understood by those familiar with the art, the invention may be embodied in other specific forms without departing from the essential characteristics thereof. Accordingly, the disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention, which is set forth in the following claims.

Claims: A method for providing security to a docking station (41) comprising the following steps: (a) storing a docking password (55) within the docking station (41); (b) upon a portable computer (40) being attached to the docking station (41), performing the followings substeps: (b.1) comparing a password (51,52) stored in the portable computer (40) to the docking password (55), (b.2) if the password (51,52) stored in the portable computer (40) is equal to the docking password (55), allowing the portable computer (40) to access the docking station (41), and (b.3) if the password (51,52) stored in the portable computer (40) is not equal to the docking password (55), preventing the portable computer (40) from accessing the docking station (41); and (c) storing a security activation flag (53) within the docking station (41); wherein step (b) is performed when the security activation flag (53) is true; and, wherein when the security activation flag (53) is not true, performing the following step instead of step (b): (d) upon a portable computer (40) being attached to the docking station (41), allowing the portable computer (40) to access the docking station (41). A method as in claim 1 additionally comprising the following step: (e) storing an administrator password activation flag (54) within the docking station (41); wherein substep (b.1) includes the followings substeps: (b.1.1) using an administrator password (51) as the password (51,52) which is compared to the docking password (55) when the administrator password activation flag (54) is true, and (b.1.2) using a user password (52) as the password (51,52) which is compared to the docking password (55) when the administrator password activation flag (54) is not true. A method as in claim 2 wherein in substep (b.1.2), when the administrator password activation flag (54) is not true and the user password (52) has a null value, using the administrator password (51) as the password (51,52) which is compared to the docking password (55). A method as in claim 1 wherein when in step (a) the docking password (55) has a null value, performing the following step instead of step (b): (c) upon a portable computer (40) being attached to the docking station (41), allowing the portable computer (40) to access the docking station (41). A docking station (41) comprising: storage means for storing a docking password (55) within the docking station (41); and, protection means for, upon a portable computer (40) being attached to the docking station (41), comparing a password (51,52) stored in the portable computer (40) to the docking password (55), the protection means allowing the portable computer (40) to access the docking station (41) when the password (51,52) stored in the portable computer (40) is equal to the docking password (55), and the protection means preventing the portable computer (40) from accessing the docking station (41) when the password (51,52) stored in the portable computer (40) is not equal to the docking password (55). wherein the storage means is additionally for storing a security activation flag (53) within the docking station (41); wherein when the security activation flag (53) is not true the protection means allows the portable computer (40) to access the docking station (41) without comparing the password (51,52) stored in the portable computer (40) to the docking password (55). A docking station (41) as in claim 5 wherein the storage means is additionally for storing an administrator password activation flag (54) within the docking station (41); wherein the protection means uses an administrator password (51) as the password (51,52) which is compared to the docking password (55) when the administrator password activation flag (54) is true; and, wherein the protection means uses a user password (52) as the password (51,52) which is compared to the docking password (55) when the administrator password activation flag (54) is not true. A docking station (41) as in claim 6 when the administrator password activation flag (54) is not true and the user password (52) has a null value, the protections means uses the administrator password (51) as the password (51,52) which is compared to the docking password (55). A docking station (41) as in claim 7 wherein when the docking password (55) has a null value, the protection means allows the portable computer (40) to access the docking station (41) without comparing the password (51,52) stored in the portable computer (40) to the docking password (55).

Inventors: FOGLE STEVEN L, FOGLE, STEVEN L.
Applicants: HEWLETT PACKARD CO, HEWLETT-PACKARD COMPANY
Application year: 1999
Main classification: G06F1
IPC codes: G06F1, G06F21, G06F3