Locking down app by removing autopublish and insecure.