Orchard v1.2 default trust is?

Topics: Customizing Orchard, General, Installing Orchard
Jun 21, 2011 at 7:09 PM

Hi grabbed a fresh v1.2 and was setting it up to run optimally as per http://www.orchardproject.net/docs/Optimizing-Performance-of-Orchard-with-Shared-Hosting.ashx

I noticed in the web.config the line <!--<trust level="Medium" originUrl="" />--> is commented out. Does this mean v1.2 is running by default in full trust?

While I'm looking at it, also what is function of the "originUrl" attribute?

Coordinator
Jun 21, 2011 at 8:14 PM

The web.config was changed in the source code version to be Full Trust by default. It was causing debugging issues to developers, and performance also. Now if you need medium trust, you will have to change the setting by yourself, as it is still supporter. Just a different default value.