Techniques for securing applications and operating systems are provided. In some embodiments the optical sensor also has a sensing layer. Heat triggering can take place during the manufacture of a film or a packaging article from an oxygen scavenging composition, or it can take place after the film or packaging article has been manufactured.