A method for controlling access to a production system of a computer system by a user identified with said production system, the production system not being connected to an information system of said computer system, the information system comprising an authentication system, the method comprising the following steps:
- A) an initial phase of enrolling a user in the production system by a terminal comprising:
- a) receiving, at the user terminal from the information system, an encrypted private key associated with each account of the user in the production system, and
- b) transmitting, by the terminal, the encrypted private key containing a private key and storing by the information system said encrypted private key;
- and
- B) then, for each request for access to the production system by the user, by a station linked to the production system, a phase for authentication by the production system comprising:
- recovering, by the terminal of the user, an image encryption code displayed on said station, the image encryption code comprising a piece of encrypted data associated with the account of the user, the piece of encrypted data configured to be decrypted by the associated private key and stored in encrypted form in the information computer system,
- linking the terminal to the information computer system and authenticating the user by said information computer system,
- transmitting, by said information computer system to the user terminal, the stored encrypted private key for the user account, and
- decrypting, by the terminal, the encrypted private key with a secret key to obtain the private key that decrypts the image encryption code recovered by the terminal and to obtain a password authorizing access to the user account of the production system.