Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Write Protecting a USB Flash Drive Programatically

Write Protecting a USB Flash Drive Programatically

Scheduled Pinned Locked Moved C#
adobehardwaretoolshelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Ian Uy
    wrote on last edited by
    #1

    Good Day, With recent outbreaks of USB Flash Drive viruses on our campus, I am planning to write a utility that will "Write-Protect" the flash drive. (Since most flash drive here in our country does not come with a "Hardware Switch" to enable the write protection) Is there any article that will help me to accomplish this task? Or this is fairly impossible? Thanks, Ian :)

    R 1 Reply Last reply
    0
    • I Ian Uy

      Good Day, With recent outbreaks of USB Flash Drive viruses on our campus, I am planning to write a utility that will "Write-Protect" the flash drive. (Since most flash drive here in our country does not come with a "Hardware Switch" to enable the write protection) Is there any article that will help me to accomplish this task? Or this is fairly impossible? Thanks, Ian :)

      R Offline
      R Offline
      Rojan Gh
      wrote on last edited by
      #2

      It seems that you don't know how this viruses work! Even if you find a way to write protect you flash memory, the virus needs you to unprotect it just for a second to write a little thing on it and the virus is there! In solution of this, I have written a semi anti virus that protect the computer from being infected by infected flash memories and also rescuing the infected flash memory. As all these viruses infect in the same scenario, my program works well for all even new versions of these viruses. It is almost finished, but the interface needs a little work. I will submit my work on codeproject after it was finished.

      Sojaner!

      I 1 Reply Last reply
      0
      • R Rojan Gh

        It seems that you don't know how this viruses work! Even if you find a way to write protect you flash memory, the virus needs you to unprotect it just for a second to write a little thing on it and the virus is there! In solution of this, I have written a semi anti virus that protect the computer from being infected by infected flash memories and also rescuing the infected flash memory. As all these viruses infect in the same scenario, my program works well for all even new versions of these viruses. It is almost finished, but the interface needs a little work. I will submit my work on codeproject after it was finished.

        Sojaner!

        I Offline
        I Offline
        Ian Uy
        wrote on last edited by
        #3

        I'll be waiting for that then. :) But all I want to know is how to "Write-Protect" the flash drive (Or any other removable media). ;P Thanks,

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups