The composition and optical properties of promising multifunctional sensor nanosystems, such as porous silicon-tin oxide and porous silicon-indium oxide are studied, which are prepared by various ways of deposition of sols of the above metals on the surface of porous silicon.