Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Wed, 25 Jun 2008 07:57:01 -0700,    group: microsoft.public.dotnet.security        back       


SocketPermission granularity in .config files   
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!
date: Wed, 25 Jun 2008 07:57:01 -0700   author:   James Snell

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us