kentico_borisp
-
12/7/2011 6:12:57 AM
RE:Restricting CMS to Internal
Hello,
The easiest and most straight forward approach would be to add some logic into the Global.asax.cs file (\App_Code\Application\CMSAppBase.cs file for 6.0) where you would check the domain of the incoming request and the URL of the request. If the URL contains the CMSDesk or CMSSiteManager sub-string, you will check for the IP from which the request came. If the if the IP isn't from your internal network, you can display an error message or redirect the user to teh home page.
This check can be done in the Application_BeginRequest() method.
Best regards, Boris Pocatko
|