Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. The host
protected area, sometimes referred to as hidden protected area, is an
area of a hard drive that is not normally visible to an operating
system. Operating systems use the IDENTIFY DEVICE command to find out
the addressable space of a hard drive. The IDENTIFY DEVICE command
queries a particular register on the IDE controller to establish the
size of a drive. This register however can be changed using the SET MAX
ADDRESS ATA command. If the value in the register is set to less than
the actual hard drive size then effectively a host protected area is
created. It is protected because the OS will work with only the value in
the register that is returned by the IDENTIFY DEVICE command and thus
will normally be unable to address the parts of the drive that lie
within the HPA.