Application template to apply security