A method and system for detecting active file-share sessions on a client
device, alerting the user of the client device, and enabling the user to
terminate the file-share sessions, are disclosed. In accordance with the
disclosed method and system, when a remote device (e.g., on a network,
the Internet, wireless, etc) connects to a shared file or folder on a
client device (e.g., a personal computer, a personal digital assistant, a
cellular telephone, personal video recorder, and the like) the user of
the client device receives an alert identifying the file-sharing session
established through this connection. The user is then presented with an
option of whether to approve this file-sharing session, or to disconnect
it (thus causing the remote user to lose access to the client device's
file system) with a single click of a button.