Patent ID: 8166220

Claim:
A device for providing multiple interfaces for connecting between multiple devices, the device comprising: a storage device interface to connect to a storage device; a host interface to connect to a host; and a controller coupled to the storage device interface and to the host interface, wherein in a first mode, the controller is configured to allow the host to establish an open session between the storage device and the host in response to detecting that the storage device is operatively connected to the storage device interface and that the host is operatively connected to the host interface, wherein the open session enables the host to retrieve data from the storage device, to write data to the storage device, and to initiate executing an application on the host; wherein while the open session is established between the storage device and the host, in a second mode of operation, the controller is configured to maintain the open session by preventing the application from terminating and by locking a user input interface of the host in response to the storage device being physically disconnected from the storage device interface, to provide an indication to the host that the storage device is not electrically connected to the storage device interface, and in response to the storage device being reconnected to the storage device interface, to automatically unlock the user input interface and to continue the open session between the storage device and the host; and in response to the host interface physically disconnecting from the host and the storage device interface physically disconnecting from the storage device, to end the open session by terminating execution of the application, wherein a user is logged off of the host when the open session is ended.