摘要 |
Embodiments of the present invention provide a method of security access control for a hard disk and a hard disk. In the method of security access control for a hard disk of the present invention, the hard disk includes an IP interface and a control board, and the method includes: receiving, by the IP interface, an access data packet of a user, and sending the access data packet to the control board; parsing, by the control board, the access data packet to obtain an authentication data packet, where the authentication data packet includes access permission information of the user; inspecting the access permission information of the user according to a stored security policy to determine whether an access of the user is authorized, where the security policy records a correspondence between access permission information of users and sector identifiers of sectors on the hard disk; if the access of the user is authorized, performing a security check on the access data packet of the user by using a security algorithm; and if the security check is passed, allowing, according to the sector identifier, the user to access data in a corresponding sector on the hard disk. According to the embodiments of the present invention, security of an access to a hard disk is improved. |