Situation; we have a multi-server environment in which we want to make the Umbraco back office inaccessible on the Front End servers.
We are achieving this by deploying a package on the front end servers that doesn't have the 'Umbraco' folder, so going to https://www.[publicdomain].com/umbraco just returns a 404. This is a bit clunky but it works.
The other option is to set rules through the load balancer ( or redirect ruls), however this has some complexities to do with Umbraco routing, e.g. Ajax requests to surface controllers, e.g. /umbraco/Surface/....., so you can create rules, but you need exclusions as well
Is there a way you can disable/hide Umbraco back office access through config?
If a server is set to be a slave it seems that disabling Umbraco on these nodes is the logic outcome, but this doesn't appear to be case.
Yes, a rewrite rule is the main way to do it, slightly updated from that old post. Make sure you update your own URL for accessing the Umbraco UI in the 1st condition
Umbraco 8 Load Balancing - Disabling CMS access on Slave Servers
Hi,
Situation; we have a multi-server environment in which we want to make the Umbraco back office inaccessible on the Front End servers.
We are achieving this by deploying a package on the front end servers that doesn't have the 'Umbraco' folder, so going to https://www.[publicdomain].com/umbraco just returns a 404. This is a bit clunky but it works.
The other option is to set rules through the load balancer ( or redirect ruls), however this has some complexities to do with Umbraco routing, e.g. Ajax requests to surface controllers, e.g. /umbraco/Surface/....., so you can create rules, but you need exclusions as well
Is there a way you can disable/hide Umbraco back office access through config?
If a server is set to be a slave it seems that disabling Umbraco on these nodes is the logic outcome, but this doesn't appear to be case.
Any help is greatly appreciated.
Thanks, Euan
Euan,
See https://our.umbraco.com/forum/umbraco-7/using-umbraco-7/72207-disabling-access-to-umbraco-backoffice
Thanks Ismail; I've done similar things in the past and this looks to do the job; I was just hoping there was simpler way to do it in code.
I think I'll put in a feature request and see how much uptake it gets.
Euan
Yes, a rewrite rule is the main way to do it, slightly updated from that old post. Make sure you update your own URL for accessing the Umbraco UI in the 1st condition
is working on a reply...