protected void EncryptSettings_Click(object sender, EventArgs e) { verifyAllowed(); Configuration config = WebConfigurationManager.OpenWebConfiguration(Request.ApplicationPath); ConfigCache.EncryptAppSettings(config); }