The login password can be easily mocked. It is not enough to boot a PC with Linux to a USB pen drive and set up the hard drive as the second storage to access all your data. This does not mean that setting that password is useless, but if you want to protect your hard drive from unauthorized access, the best way to do this set the password directly to the BIOS.
The strongest drive is their own "app"
The only solution is to keep your data safe to encrypt, but it is a slow process that requires third-party software and ultimately costs performance. For that reason, the easiest way to protect your data is to place a firmware level password
How to enter a password on a hard drive
The first step is to access the computer's BIOS / UEFI, and the method of this will depend on the manufacturer. It usually presses DELETE or F2 as soon as you open the PC, but this can change depending on the product and model.
The same thing happens when we are inside BIOS / UEFI: each manufacturer has its own menu change, but as a general rule the process is the same in everything. Once inside, we have to access the Security section or the like, and we'll find something like this.
In this list we should see the name or model of hard drives. We simply move the arrow keys to place them on the hard disk and after you press ENTER, it will ask us to set a password. If the "Master password" option is available, the key is to enable it.
Don't confuse the BIOS password with that of a hard disk. When the password is set (it's important not to forget it under any circumstances), the BIOS should display something similar to what you can see in the image above, making sure the disk password is enabled.
Note: if the password set option appears to be disabled (gray) then you have to perform a PC cycle. Just turn it off, open it and log back into the BIOS again.
Once the disk password is set, every time we turn on the PC the system will ask for a password so we can access it, and we won't have to turn it back on until we turn off the equipment again. This will protect access to the disk in the case we originally told you, even if we remove the hard disk and want to install it on another PC since, as we said, atThis password is set to the level of the hard disk firmware, except for PC BIOS.