Copied to clipboard

Flag this post as spam?

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


  • BenH 59 posts 199 karma points
    Jul 22, 2015 @ 16:20
    BenH
    0

    Restrict backoffice login to a different domain behind company VPN

    We would like to turn off public access to the /umbraco URL, and have the backoffice only function on a different domain behind our VPN. What would be the best way of doing this?

    Thanks! Ben

  • BenH 59 posts 199 karma points
    Jul 23, 2015 @ 20:42
    BenH
    0

    Found this blog post which looks like what I need. Will report back

    http://www.attackmonkey.co.uk/blog/2015/07/protecting-your-admin-url-with-iis-rewrite#comments

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    Jul 24, 2015 @ 09:58
    Alex Skrypnyk
    0

    Ben, thanks for link, great article.

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    Jul 24, 2015 @ 09:59
    Alex Skrypnyk
    0

    Do you think this is reliable way to restriction backoffice login ?

  • BenH 59 posts 199 karma points
    Jul 24, 2015 @ 12:55
    BenH
    0

    I'm implementing on my dev server today and will be testing. I'll post back with my results!

  • BenH 59 posts 199 karma points
    Jul 24, 2015 @ 19:36
    BenH
    0

    So I actually couldn't get this one to work, so I ended up using a simpler method:

    <rewrite>
            <rules>
                <rule name="Restrict access" stopProcessing="true">
                  <match url="umbraco(?!/Surface/)" />
                  <conditions logicalGrouping="MatchAny" trackAllCaptures="false">
                      <add input="{HTTP_HOST}" matchType="Pattern" pattern="root-url-you-want-to-redirect-to.com"
                         ignoreCase="true" negate="true" />
                  </conditions>
                  <action type="Redirect" url="/" appendQueryString="false" />
              </rule>
            </rules>
        </rewrite>
    
  • 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