Copied to clipboard

Flag this post as spam?

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


  • Marino Simic 16 posts 53 karma points
    Aug 10, 2009 @ 15:48
    Marino Simic
    0

    Umbraco and Medium Trust

    Hello people,

    I'm puzzled if Umbraco can work on ISP providers that support only medium trust.

    I have read there is an option in the Web.config to enable medium trust, but have seen users complaining there is problems making the site run or loosing features.

    Full thrust is not an option for me and the majority of others.

    I have read that umbraco uses Reflection to load assemblies.

    If that is the case there is a method to make it work: "friendly assemblies" which enable running internal methods with reflection.

    - http://msdn.microsoft.com/en-us/library/0tke9fxk.aspx

    - http://msdn.microsoft.com/en-us/library/ms228624.aspx

    (this can be achieved only with command line compiling though, not from the dev environment)

    Can anyone explain the current status MediumTrust please?

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Aug 10, 2009 @ 16:33
    Douglas Robar
    0

    Medium trust is not supported. You'll need at least high trust, preferably full trust. Even if umbraco were compiled as you've described, the various packages that others produce to support umbraco would probably not be done in such a way.

    There are lots of hosts that support that, or are willing to allow a custom trust level. And any server you control (either real or VPS) can be set for adequate trust.

    cheers,
    doug.

  • Marino Simic 16 posts 53 karma points
    Aug 10, 2009 @ 16:41
    Marino Simic
    0

    Hi Douglas,

    I know there are providers supporting it but in my situation this is not an option because we should migrate other web apps that are required on the domain. Sadly this is more painful than choosing another CMS, cause i like what i have read about umbraco, except the medium trust issue...

    But it should be noted that around 90% of hosting providers are not willing to do the things that you suggested (make custom policies) since they run on shared servers.

    The people already having parts of websites on such hostings cannot migrate their web to use umbraco.

    Anyway, thanks for you reply!

  • Marino Simic 16 posts 53 karma points
    Aug 10, 2009 @ 16:43
    Marino Simic
    0

    Just a side question, since you screatched on that...

    What permission need to be enabled by a custom trust level to make umbraco run?

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Aug 10, 2009 @ 17:07
    Douglas Robar
    0

    Perhaps these old forum threads will be helpful.

    http://forum.umbraco.org/yaf_postst5300_Medium-trust-support-for-umbraco-4--help-me-identify-whats-needed.aspx

    http://forum.umbraco.org/yaf_postst3337_-Medium-Trust-on-ASPNet-2-Issue--Some-Advice-Please-.aspx

     

    As for migrating domains... you don't need to migrate the whole domain to a more capable host, nor does it need to cost a great deal for solid hosting, even in a shared environment. For instance, you might be able to put your new site within a subdomain and run umbraco on that server rather than the existing shared host that doesn't allow better than medium trust.

    If you would like real-world suggestions about hosting options, make a new post with information about location (if you care), features, costs, etc. and I'm sure people in the community can make recommendations. With tens of thousands of umbraco installations worldwide it shouldn't be hard to find decent hosting for everyone.

    cheers,
    doug.

Please Sign in or register to post replies

Write your reply to:

Draft