The invention discloses a method for protecting
computer security based on a
BIOS password and a computer adopting the method, comprising the following steps: a storage step, writing the
BIOS password in the
BIOS chip in the background, setting parameters of the
password checking option in the BIOS, and storing the password in the BIOS
chip. The parameters are stored in the
CMOS chip; the computer startup step, after the
power supply voltage is stable, the CPU jumps; the
block code startup step, the BIOS starts the
block code; the self-test step, the device performs self-test, after the self-test passes, the control display pops up to enter the password
dialog box; password capturing step, computer captures the password typed from the keyboard; password caching step, stores the captured password in the keyboard register; password comparison step, CPU reads out the input password, and compares it with the BIOS password ;Security execution steps, perform corresponding operations according to the result of password comparison. The method of the invention has
high security performance, the password cannot be deciphered, and can effectively protect the setting security of the computer and the security of data in the computer.