We demonstrate a strategy of incorporation and opening of light-sensitive containers in anticorrosion coatings for construction of very efficient light responsive protective coatings.