House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Restricting access to Railo 4 Administrator in IIS7 5

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Michael David
08/26/2012 06:58 PM

?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>

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Russ Michaels
08/26/2012 08:09 PM

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 -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 20, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference