SocketPermission granularity in .config files

J

James Snell

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top