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. Hardware & Devices
  4. Utility for Locking-Unlocking your hard disk

Utility for Locking-Unlocking your hard disk

Scheduled Pinned Locked Moved Hardware & Devices
htmlcomhardwaresecuritytools
6 Posts 3 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.
  • S Offline
    S Offline
    Sandeep_Vaniya
    wrote on last edited by
    #1

    Hi, Do you know locking/unlocking capability of your hard disk? If not, read following. Every hard disk has inbuilt controller, called ATA controller. ATA stands for Advanced Technology Attachment or AT Attachement. ATA is the standard protocol to interact with the hard disk. ATA protocol has several commands using which hard disk can be locked or unlocked. This lock is the hardware lock. Once hard disk is locked, you can't read/write from your hard disk, until unlocked. Once it is locked, all commands to hard disk will be aborted, except commands for unlocking and some special commands. Almost all modern hard disk support security feature. By default security feature is disabled. It needs to be enabled and then only hard disk can be locked/unlocked. Some older hard disk might not support this feature. I have created a utility, completely coded 'C' language, to lock/unlock hard disk. For more details and downloading this utility, visit Lock-Unlock Hard Disk[^] Thanks, Sandeep B. Vaniya

    J 1 Reply Last reply
    0
    • S Sandeep_Vaniya

      Hi, Do you know locking/unlocking capability of your hard disk? If not, read following. Every hard disk has inbuilt controller, called ATA controller. ATA stands for Advanced Technology Attachment or AT Attachement. ATA is the standard protocol to interact with the hard disk. ATA protocol has several commands using which hard disk can be locked or unlocked. This lock is the hardware lock. Once hard disk is locked, you can't read/write from your hard disk, until unlocked. Once it is locked, all commands to hard disk will be aborted, except commands for unlocking and some special commands. Almost all modern hard disk support security feature. By default security feature is disabled. It needs to be enabled and then only hard disk can be locked/unlocked. Some older hard disk might not support this feature. I have created a utility, completely coded 'C' language, to lock/unlock hard disk. For more details and downloading this utility, visit Lock-Unlock Hard Disk[^] Thanks, Sandeep B. Vaniya

      J Offline
      J Offline
      Jorgen Andersson
      wrote on last edited by
      #2

      This seems to be good material for an article.

      S 1 Reply Last reply
      0
      • J Jorgen Andersson

        This seems to be good material for an article.

        S Offline
        S Offline
        Sandeep_Vaniya
        wrote on last edited by
        #3

        I will publish article for the same on code project. Thanks for your suggestion.

        enhzflepE 1 Reply Last reply
        0
        • S Sandeep_Vaniya

          I will publish article for the same on code project. Thanks for your suggestion.

          enhzflepE Offline
          enhzflepE Offline
          enhzflep
          wrote on last edited by
          #4

          What about the last article you wrote here on that utility? Make sure you include the source this time... ;P

          S 1 Reply Last reply
          0
          • enhzflepE enhzflep

            What about the last article you wrote here on that utility? Make sure you include the source this time... ;P

            S Offline
            S Offline
            Sandeep_Vaniya
            wrote on last edited by
            #5

            I had published article after Andersson's suggestion. But you guys might not like that article so I have removed it. I am already in my home with my bat and ball. I am wondering that you are still searching for source code.

            enhzflepE 1 Reply Last reply
            0
            • S Sandeep_Vaniya

              I had published article after Andersson's suggestion. But you guys might not like that article so I have removed it. I am already in my home with my bat and ball. I am wondering that you are still searching for source code.

              enhzflepE Offline
              enhzflepE Offline
              enhzflep
              wrote on last edited by
              #6

              Hi Sandeep, I thought your last article was a good start. There were perhaps a few details missing that would have added to the knowledge it imparted, like the nitty-gritty details of the port numbers used and the protocols for use, (e.g do an "Out 70h, al" followed by reading 10 bytes from 71h, using the 11th byte as the result-code, blah-blah) but overall I found it to be a highly interesting concept - It's been 10 years or more since I played with DOS programming, and always found it to be a challenging medium to write ASM code under, what with the 64kb segments and all the 'fun' they entail. So please, if you feel like grabbing your bat & ball and coming back out to play, I'm sure a lot of the other kids would be interested in what you had to say. Oh no, I'm not still searching for the code, I've already got it. I already know which ports were used, as do about 1/2 a dozen other people that downloaded the source I posted for you. It would just be nice to see the (well commented) code finish off what has the potential for being a really interesting article. Remember, no author in the world won a Pulitzer Prize for a piece that was classified and not released to the public.... Simon :rose:

              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