发明名称 |
Computing device and method for controlling access to driver programs |
摘要 |
A computing device and a method for controlling access to driver programs obtains a first system time at the time that an application uses a CTL_CODE to access a driver program. The first system time and the CTL_CODE is encrypted to generate an encrypted CTL_CODE which is then sent to the driver program. The encrypted CTL_CODE is decrypted to obtain the first system time and the CTL_CODE therein. A second system time at the time that the driver program receives the encrypted CTL_CODE is obtained and compared with the first system time. Access to the driver program is allowed if a difference between the first system time and the second system time falls within a predetermined range, and access to the driver program is forbidden if the difference is beyond the predetermined range. |
申请公布号 |
US8850228(B2) |
申请公布日期 |
2014.09.30 |
申请号 |
US201213449295 |
申请日期 |
2012.04.17 |
申请人 |
Hong Fu Jin Precision Industry (ShenZhen) Co., Ltd.;Hon Hai Precision Industry Co., Ltd. |
发明人 |
Wang Guang-Jian;Zhao Jin-Rong;Liu Xiao-Mei |
分类号 |
H04L29/00;G06F12/14;G06F21/60 |
主分类号 |
H04L29/00 |
代理机构 |
Novak Druce Connolly Bove + Quigg LLP |
代理人 |
Novak Druce Connolly Bove + Quigg LLP |
主权项 |
1. A method for controlling access to driver programs being performed by execution of computerized code by a processor of a computing device, comprising:
obtaining a first system time of the computing device at the time that an application uses a CTL_CODE to access a driver program; encrypting the first system time and the CTL_CODE to generate an encrypted CTL_CODE, and sending the encrypted CTL_CODE to a driver program; decrypting the encrypted CTL_CODE received by the driver program to obtain the first system time and the CTL_CODE; obtaining a second system time of the computing device at the time that the driver program receives the encrypted CTL_CODE; determining if a difference between the first system time and the second system time falls within a predetermined range; and allowing the application to access the driver program by using the CTL_CODE when the difference falls within the predetermined range, and forbidding the application to access the driver program by using the CTL_CODE when the difference falls outside the predetermined range. |
地址 |
Shenzhen CN |