use config for firguring out if an extension is protected