The invention relates to a device including: a rigid container (1) made from a transparent material and provided with an access opening (11), and a closure lid (2) provided with a rear appendage (21) for axially coupling same to the opening (11) of the container. The container opening (11) and the rear appendage (21) of the lid have similar irregular contours allowing same to be coupled in a single position. The lid (2) includes an electronic circuit (3) which comprises: an electronic control plate (31), a data storage device (33), means (32a, 32b, 32c) for inputting and downloading data, a screen (34) for displaying information, a power-supply battery (35), and an energy-efficient electromechanical lock (36).