Is there is a way to lock my USB port over the device physically ?

For example I am connecting the USB mouse and keyboard on an public computer but I do not want anyone to remove them physically. I want to physically blocks these USB ports from unauthorized access in fact most airport use USB blockers for the public computer but I cannot find any images on or something relevant.

An other option will be to edit some configuration in the system to just identify these mouse and keyboard and do not work with any other device?


3 Answers 3


The solution most often found in airports is to restrict access to the PC itself - placing it within a lockable case or kiosk.

Alternatively, epoxy resin is pretty good for sealing ports, whether or not they have a plug inserted (remember you will need to seal all ports an attacker could access)

  • Yeah, I almost missed that and was about to put "superglue works wonders" Feb 11, 2013 at 14:29

You can lock the usb ports for anything besides a certain hardware id and also by use. Even if someone is able to clone the keyboard id into another device, that device would only be usable if it's another keyboard. If you only want to. Disable data transfer, you can disable mass storage device, usb cdrom, ... And then you don't have to worry about changing the keyboard /mouse or installing a webcam. You can do all those tweaks from windows registry


As Bob Watson pointed out, a simple google search gives you a solution for physical blocking.

Software like Symantec Endpoint Protection offer device blocking by ID (http://www.symantec.com/business/support/index?page=content&id=TECH106304).

Of course, someone determined enough could clone an allowed id to another device and be able to use it.

Moreover, a keylogger device, that sits between the computer and the keyboard would go undetected.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .