You are here: Admin Mode > Working with Authorization > Access Rights to Different Modes

Access Rights to Different Modes

If you do not want to use the default groups available in EPiServer CMS for accessing Edit and Admin modes, you can amend this in the web.config file found in the root of your website.

  1. Open the file in Notepad or a similar program. (It must be a program that supports UTF-8, otherwise the program can damage the file).
  2. Look for the line containing the settings for Edit and Admin modes. This is <location path="/XX/UI/admin"> in the case of Admin mode. This is <location path="/XX/UI/"> in the case of Edit mode. In which XX can vary depending on the path entered during installation.
  3. Change the names of the groups in <allow roles=" ">. Enter Computer/Domain name\Names of the groups between " ". Use a comma to separate groups.
  4. Save the file.
<location path="EPiServer">
<system.web>
...
<authorization>
<allow roles="WebEditors, WebAdmins, Administrators" />
<deny users="*" />
</authorization>
</system.web>
...
</location>
<location path="EPiServer/CMS/admin">
<system.web>
<authorization>
<allow roles="WebAdmins, Administrators" />
<deny users="*" />
</authorization>
</system.web>
</location>