WebPermission

There are 1 entries for the tag WebPermission

OriginUrl Supports Regular Expressions

In a recent post I ranted about how ASP.NET denies WebPermission in Medium Trust. I also mentioned that there may be some legitimate reasons to deny this permission based on this hosting guide. Then Cathal (thanks!) emailed me and pointed out that the originUrl does not take wildcards, it takes a regular expression. So I updated the <trust /> element of web.config like so: <trust level="Medium" originUrl=".*" /> Lo and Behold, it works! Akismet works. Trackbacks work. All in Medium Trust. Of course, a hosting provider can easily override this as Scott Guthrie points out in my comments. I need to stop...