CAS protect the application