A method for controlling access to a first computing device by a second computing device, said method comprising: repeatedly detecting (S302, S500) at regular intervals whether said first computing device is being used by a local user; receiving a remote input event for said first computing device from said second computing device, wherein said remote input event is a mouse or cursor input event which corresponds to movement of a mouse or cursor from a first position on a display of the first computing device to a second position on said display; if said first computing device is detected as being used by said local user, blocking said received remote input event (S510, S306), thereby transferring control of the cursor of the first computing device to said local user, wherein said transfer of control is automatic and not controlled by the local user or a remote user of said second computing device; if said first computing device is not detected as being used by a local user, updating a current position of said mouse or cursor with the second position to which the remote input event moves said mouse or cursor; and after said updating, saving said current position as an expected position; and wherein each detecting step of said repeatedly detecting comprises: receiving said current position of the mouse or cursor on the display of the first computing device; comparing said current position with said previously saved expected position; and based on said comparing, determining that said first computing device is being used by a local user if said current position does not match said expected position, and determining that said first computing device is not being used by a local user if said current position does match said expected position, wherein if said first computing device is detected as being used by said local user, remote input events are blocked for a pre-set time period, wherein the regular intervals are shorter than the pre-set time period. repeatedly detecting (S302, S500) at regular intervals whether said first computing device is being used by a local user; receiving a remote input event for said first computing device from said second computing device, wherein said remote input event is a mouse or cursor input event which corresponds to movement of a mouse or cursor from a first position on a display of the first computing device to a second position on said display; if said first computing device is detected as being used by said local user, blocking said received remote input event (S510, S306), thereby transferring control of the cursor of the first computing device to said local user, wherein said transfer of control is automatic and not controlled by the local user or a remote user of said second computing device; if said first computing device is not detected as being used by a local user, updating a current position of said mouse or cursor with the second position to which the remote input event moves said mouse or cursor; and after said updating, saving said current position as an expected position; and wherein each detecting step of said repeatedly detecting comprises: receiving said current position of the mouse or cursor on the display of the first computing device; comparing said current position with said previously saved expected position; and based on said comparing, determining that said first computing device is being used by a local user if said current position does not match said expected position, and determining that said first computing device is not being used by a local user if said current position does match said expected position, receiving said current position of the mouse or cursor on the display of the first computing device; comparing said current position with said previously saved expected position; and based on said comparing, determining that said first computing device is being used by a local user if said current position does not match said expected position, and determining that said first computing device is not being used by a local user if said current position does match said expected position, wherein if said first computing device is detected as being used by said local user, remote input events are blocked for a pre-set time period, wherein the regular intervals are shorter than the pre-set time period.