Fixed security issue in Enterprise Store and Publisher