Handle protected paths.