enable appsecurity