Temporary Disabling access to CMSDESK

Olivier Cozette asked on June 23, 2015 15:44


Because of different circumstances, I have to move the Kentico DB from one server to another. The DB is more than 10 GB, and the process will take al least a couple of hours. In the meantime, I want to keep the website up and running for visitors, but not to editors. Is there an easy way to disable access to CMSDESK to non Admin Users, so I can manage to copy the dabatabse without losing any data change ? Tks !

Correct Answer

Martin Danko answered on June 23, 2015 17:21

Hello Juan,

In this scenario you can use the following web.config key:

<add key="CMSDisableAdministrationInterface" value="true"/>

Of course, this will disable it for everybody including the administrators but I believe that shouldn't be a problem as you want to disable it just temporary/for a short period of time.

Best regards, Martin

1 votesVote for this answer Unmark Correct answer

Recent Answers

Joshua Adams answered on June 23, 2015 16:43

How many editors in the site are there? could you run a query to show you the ones with the editor privelage level, copy the results and then update them to normal users? As long as you have a list of them, then you can use that same list to update them to the editor role after the upgrade. Just make sure you save that list somewhere so you can use those same users to update them back to that level. Depending on how many there are, you could just set them through the user interface as well, which may be safer to do.

1 votesVote for this answer Mark as a Correct answer

Olivier Cozette answered on June 23, 2015 16:46

I have more than 100, but this could be a good approach. It would be great if Kentico had an option to do so.

Thanks Joshua

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.