Minimum CAS permissions?

Apr 23, 2010 at 3:32 PM

What are the minimum CAS permissions to use this solution and generate chart images in app dir? I have a minimum trust setup on the server and the chartpart installer adds the following permission set:

SqlClientPermission, FileIOPermission, WebPartPermission, EnvironmentPermission, SmtpPermission, AspNetHostingPermission, IsolatedStorageFilePermission, WebPermission, DnsPermission, PrintingPermission

The problem is that not all of the corresponding security classes are defined in the minimum trust policy. This blocks storing images to file since FileIOPermission is not defined. Does this code really need (Dns, printing, smtp,SqlClient)? What about Environment and IsolateStorageFile permissions?