security for all pages