Patent ID: 7747791

Claim:
A method of access control between a main processor and peripheral devices connected by a communication bus, comprising: assigning, to at least one program from a plurality of programs to be executed by the main processor, at least one access authorization selectively authorizing access of the at least one program to at least one peripheral device from said peripheral devices, wherein: said at least one access authorization is being provided by an auxiliary processor contained in a smart card comprising a memory distinct from a memory of the main processor, the memory of the smart card contains security rules used to authorize the access of the at least one program to the at least one peripheral, the security rules indicate which program of the plurality of programs has access to which peripheral device from said peripheral devices, the at least one access authorization is distinct from keys authenticating and/or validating the at least one pro gram, and the main processor does not modify the security rules and the at least one access authorization; and checking, for each request for access by the at least one program to the at least one peripheral device, the presence of said at least one access authorization for the access to the at least one peripheral device.