Tuesday, April 19, 2011

Best Protection for Portable Device Virii

There are a couple of ways to protect your portable device — may it be a USB stick, an external disk drive, an SD card, the list goes on — but the best (AND simplest!) method I've been using for some years now is this:
  1. Create a folder (NOTE: Folder) on the root directory of your device
  2. Rename it to autorun.inf
  3. Right-click the file -> Click Properties -> Set to Read-only and Hidden
Now you're good to go.

Well, actually you can add a bit more protection to that new folder by adding the "system file" flag to it. Here's how:
  1. Open a command shell
  2. Run "attrib +s +r +h
  • Example: attrib +s +r +h d:\autorun.inf
  • Example: attrib +s +r +h f:\autorun.inf
Can't be too safe these days. :D