We do something similar where we have a "editor environment" and a "frontend environment". Where the backend can not be opened on the front end, but only on the editor environment. There the allowed IP's are set on the firewall
I am wondering how do you synchronise content, media, document type, templates etc.. between frontend server and editor environment, does it work with Courier or requires some special configuration such as https://msdn.microsoft.com/en-us/library/bb540031(v=vs.85).aspx?
Restrict Admin access by IP address
Does Umbraco have the ability to restrict Admin access (/umbraco/) by IP address?
If not, has anyone done so using IIS, or any other method?
https://www.iis.net/configreference/system.webserver/security/ipsecurity
Hi Casper,
This will block or allow the whole site based on IP. I think Gordon is only looking for backend blocking.
Dave
Hi Dave,
Check this out. I have been able to do the same thing :)
http://serverfault.com/questions/605398/iis-access-control-by-ip-address-for-specific-files-and-folders
It is also possible to add the restriction in web.config - this works perfectly :)
Wouldn't that also block access to web services and/or API's from the front end?
Hi Casper,
I think Gordon is right. If you have Umbraco API controllers that you call from the front end these can not be reached.
That's why we solve it using the IIS rewrite. There we make sure these can be called while the rest of the backoffice is not reachable.
Dave
True, in case of having API controllers needed from the frontend, my suggestion won't be of any help.
Just for overkilling the subject - You could restrict access to "umbraco" and then allow access to the paths you need:
Hi Gordon,
We do something similar where we have a "editor environment" and a "frontend environment". Where the backend can not be opened on the front end, but only on the editor environment. There the allowed IP's are set on the firewall
We use IIS Rewrite rules for that :
This will rewrite will only allow access to the backend on the hostname http://editor.myhost.com
You can change this line to do it on IP :
to something like this :
to restrict it on IP
Dave
Do you mean separate IIS environments? Separate servers?
We have a seperate servers.
@Dave,
I am wondering how do you synchronise content, media, document type, templates etc.. between frontend server and editor environment, does it work with Courier or requires some special configuration such as https://msdn.microsoft.com/en-us/library/bb540031(v=vs.85).aspx?
are you using something such as https://our.umbraco.org/documentation/getting-started/setup/server-setup/load-balancing/flexible-advanced#explicit-master-scheduling-server
hi Bhavesh
We use the flexible load balancing. This will take care of all data stored in Umbraco database.
For physical data on the disk (like files from the media library) you need to handle the syncing yourself. Or use something like Azure blobstorage.
Dave
is working on a reply...