Barriers were produced in porous glass through its local bulk density modification by direct femtosecond writing accompanied by СО2-laser surface thermal densification, to make functional microfluidic elements separated by such physical barriers with different controlled permeability. The separation of multi-component solutions into individual components with different molecule sizes (molecular separation) was performed in this first integrated microfluidic device fabricated in porous glass. Its application in the environmental gas-phase analysis was demonstrated.