Changeset 1199
- Timestamp:
- 02/02/09 19:56:52 (16 years ago)
- Location:
- trunk/sources
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/Properties/AssemblyInfo.frame
r581 r1199 24 24 using System.Runtime.InteropServices; 25 25 using HeuristicLab.PluginInfrastructure; 26 using System.Security; 26 27 27 28 // General Information about an assembly is controlled through the following … … 36 37 [assembly: AssemblyTrademark("")] 37 38 [assembly: AssemblyCulture("")] 39 [assembly: AllowPartiallyTrustedCallers] 38 40 39 41 // Setting ComVisible to false makes the types in this assembly not visible -
trunk/sources/HeuristicLab.Hive.Client.Core/Core.cs
r1150 r1199 186 186 void wcfService_PullJobCompleted(object sender, PullJobCompletedEventArgs e) { 187 187 if (e.Result.StatusMessage != ApplicationConstants.RESPONSE_COMMUNICATOR_NO_JOBS_LEFT) { 188 bool sandboxed = false;188 bool sandboxed = true; 189 189 190 190 PluginManager.Manager.Initialize(); -
trunk/sources/HeuristicLab.Hive.JobBase/TestJob.cs
r1119 r1199 27 27 using System.Xml; 28 28 using System.Threading; 29 using System.IO; 30 using System.Security.Permissions; 29 31 30 32 namespace HeuristicLab.Hive.JobBase { -
trunk/sources/HeuristicLab.PluginInfrastructure/PluginManager.cs
r1189 r1199 207 207 pset.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution)); 208 208 pset.AddPermission(new ReflectionPermission(PermissionState.Unrestricted)); 209 /*foreach (PluginInfo plugin in depPlugins) { 209 FileIOPermission fPerm = new FileIOPermission(PermissionState.None); 210 211 foreach (PluginInfo plugin in depPlugins) { 210 212 foreach(String assemblies in plugin.Assemblies) 211 pset.AddPermission(new FileIOPermission(FileIOPermissionAccess.Read, assemblies)); 212 }*/ 213 pset.AddPermission(new FileIOPermission(PermissionState.Unrestricted)); 213 fPerm.AddPathList(FileIOPermissionAccess.AllAccess, assemblies); 214 } 215 216 pset.AddPermission(fPerm); 217 214 218 } else { 215 219 pset = new PermissionSet(PermissionState.Unrestricted);
Note: See TracChangeset
for help on using the changeset viewer.