An access management system comprising a plurality of nodes connected by a peer-to-peer (P2P) network,
- each of the plurality of nodes including processing circuitry:
- to store a blockchain shared among the plurality of nodes;
- and
- to validate validity of a block added to the blockchain, wherein
- in at least any one of the plurality of nodes, the processing circuitry generate a block added to the blockchain,
- in a management node, which is any one of the plurality of nodes, the processing circuitry record in blocks of the blockchain, authentication conditions including authentication information of an authenticatable passing body, and
- in an authentication node, which is any one of the plurality of nodes and provided in a region where the passing body passes,
- the processing circuitry read authentication information of the passing body;
- and
- authenticate the passing body when the authentication node is designated, in the authentication conditions recorded in the blocks of the blockchain, as a node that performs authentication and the read authentication information is included in the authentication conditions,
- the processing circuitry of each of the plurality of nodes determines, when a hash value calculated from a block generated by the processing circuitry of any one of the plurality of nodes is equal to or larger than a set threshold, the block as invalid, and does not add the block determined as invalid to the blockchain, and
- the processing circuitry of each of the plurality of nodes sets a threshold set in validation of a block generated by the processing circuitry of the authentication node to a value larger than a threshold set in validation of a block generated by the processing circuitry of the node, which is not the authentication node, and validates validity of a block added to the blockchain.