Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mike 62 posts 274 karma points
    Jun 13, 2013 @ 16:34
    Mike
    0

    Blocking back-office access via IP address but not using IIS

    Does anyone know whether there is a method of restricting access to the /umbraco folder if one doesn't have access to IIS?  IIS is our usual approach but we're setting up an Umbraco site for someone on a shared host and so IIS restrictions aren't an option in this instance.

    Is it possible via the web.config, or maybe creating a web.config to the /umbraco directory with something along these lines:

    <security>
        <ipSecurity allowUnlisted="false">
            <clear/>
            <add ipAddress="111.111.111.111" allowed="true"/> <!-- Allow a specific IP -->
            <add ipAddress="111.222.333.444" allowed="true"/> <!-- and another one... -->
        </ipSecurity>
    </security>

    Would this work, or is there a better/alternative way of approaching this?

    Many thanks,
    Mike

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies