You can encrypt the data stored in a hard drive by using some encryption software for securing the data. There are strong casing to eliminate the chances of physical tampering. Some devices have a secondary security layer embedded in the printed circuit board as they are dipped in resin which makes it difficult to physically access the chips.