Infrared (IR) spectroscopy is a powerful technique to characterize the chemical structure and dynamics of various types of samples. However, the signal-to-noise-ratio drops rapidly when the sample thickness gets much smaller than penetration depth, which is proportional to wavelength. This poses serious problems in analysis of thin films. In this work, an approach is demonstrated to overcome these problems. It is shown that a standard IR spectroscopy can be successfully employed to study the structure and composition of films as thin as 20 nm, when the layers were grown on porous substrates with a well-developed surface area. In contrast to IR spectra of the films deposited on flat Si substrates, the IR spectra of the same films but deposited on porous ceramic support show distinct bands that enabled reliable chemical analysis. The analysis of Zn-S ultrathin films synthesized by atomic layer deposition (ALD) from diethylzinc (DEZ) and 1,5-pentanedithiol (PDT) as precursors of Zn and S, respectively, served as proof of concept. However, the approach presented in this study can be applied to analysis of any ultrathin film deposited on target substrate and simultaneously on porous support, where the latter sample would be a reference sample dedicated for IR analysis of this film.