Copied to clipboard

Flag this post as spam?

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


  • Sergio 73 posts 93 karma points
    Oct 17, 2011 @ 17:37
    Sergio
    0

    How to secure a "replication" Umbraco page

    I have to replicate all the content created/deleted/published/unpublished in the main language of our site in 7 different languages.

    For this purpose first I tried to do with a new Thread but there was no luck because some methods are not available (umbraco.library.GetCurrenDomains, umbraco.library.NiceUrl, etc), so I have created a new page under the Umbraco folder and I call it in asynchronous mode.

    Everything works fine now but I´d like to secure this new page.

    If I create the page inheriting from UmbracoEnsuredPage, I can´t reach it using the HttpWebRequest method.

    If I create the page inheriting from Umbraco.BasePages.BasePage, I can´t get the current user so I can´t check that it´s an admin user.

    Any help please?

  • Sergio 73 posts 93 karma points
    Oct 17, 2011 @ 18:00
    Sergio
    0

    Inhering from Umbraco.BasePages.BasePage it´s unaccesible too.

    I have to create it inheriting from System.Web.IU.Page to be able to access it but the security it´s even worst.

  • 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