Configuring automatic classification and protection