Device and content protection