|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Restricting access to Railo 4 Administrator in IIS7 5
?Hey, I posted this to the Railo group, but my membership there isMichael David 08/26/12 06:58 P you can do this using url rewrite.Russ Michaels 08/26/12 08:09 P ?Hey, I posted this to the Railo group, but my membership there is waiting for approval, so thought one of the Railo users here might have a suggestion. Rather than restricting access to the Railo admin pages using the IP filtering within IIS (which works fine), I am trying to do it within the site's web.config. This way, I would just copy it from webroot to webroot, rather than manually setting it each time. So far, though, I am having no luck. I have added empty railo-context and admin directories into the webroot (so I can set permissions on them). Here is what I have so far. I am hoping someone here might have some ideas: <?xml version="1.0" encoding="UTF-8"?> <configuration> <location path="SomeSite/railo-context/admin" overrideMode="Deny"> <system.webServer> <security> <ipSecurity allowUnlisted="false"> <clear/> <add ipAddress="123.456.789.0" allowed="true"/> </ipSecurity> </security> </system.webServer> </location> <system.webServer> <defaultDocument> <files> <add value="index.cfm" /> </files> </defaultDocument> </system.webServer> </configuration> you can do this using url rewrite. http://www.youtube.com/watch?v=ut0pD2l4z5c which will be put in your web.config On Sun, Aug 26, 2012 at 11:57 PM, Michael David <lists@michaeldavid.com>wrote: ----- Excess quoted text cut - see Original Post for more -----
|
May 20, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||