This study explores the potential of LDH flakes decorated with metallic oxide nanoparticles to function as both anti-corrosion barriers against chloride anions and heterogeneous photocatalysts for tetracycline degradation under visible light. The process involves modifying the primarily MgO-based inorganic porous film by growing a MgFe LDH film, followed by the individual and dual incorporation of SnO2 and WO3 nanoparticles.