We investigate how the choice of the magnetization distribution inside the sample affects its interaction with the external electromagnetic field. The strong selectivity to the time dependence of the external electromagnetic field arises for the particular magnetizations. This can be used for the storage and ciphering of information. We propose a time-dependent Aharonov-Bohm-like experiment in which the phase of the wave function is changed by the time-dependent vector magnetic potential. The arising time-dependent interference picture may be viewed as a new channel for the information transfer. 15 refs., 4 figs.