This study provides insight into the internal structure of surface-confined molecular assemblies. The permeability of the layer-by-layer grown thin films can be controlled systematically by varying their composition and the structure of their molecular components. Moreover, the thickness can be used to control molecule permeation versus electron transfer.