I'm hosting a server which will have some sites which talk to some MySQL servers, I'd like to run in medium trust but additionally have to open up the SocketPermission priviledge as it is needed by the MySQL connector. I currently have this in the .config file... <IPermission class="SocketPermission" version="1" Unrestricted="true" /> Is there a way I can modify this entry to restrict the connections to be only outbound connections to a predefined range of addresses and ports (although I don't know what those are yet)? I tried to find some examples but came up blank, so any examples would be particularly helpful. Thanks in advance!