This project has moved. For the latest updates, please go here.

WebPermission

Topics: Developer Forum, Project Management Forum, User Forum
May 10, 2007 at 5:56 PM

Hello,

Can the RSS Toolkit be used with a restricted WebPermission trust level? We are trying to use the "<ConnectAccess>" element in the IPermission to specifically limit outgoing calls to certain urls.

For example, we are using this in a slightly modified Medium Trust environment. We receive a 'System.Security.SecurityException: Request for the permission of type 'System.Net.WebPermission' error.

<ConnectAccess>
<URI uri="$OriginHost$" />
<URI uri="(http|https)://www\.forbes\.com/business/index\.xml" />
</ConnectAccess>
</IPermission>

Thanks

--GJ