[runtime] Overwrite stacktrace for exception on re-throw. Fixes #1856.
[mono.git] / mono / tests / cas / appdomain / README
1 AppDomain sandboxes
2
3
4 * makepol.cs:   Create some XML policy files to be used with the sandboxes.
5                 DEPRECATED as Mono now creates the default sets itself.
6 * sandbox.cs:   Create a policy-restricted appdomain to execute assemblies.
7
8
9 Samples
10
11 * whoami.cs:    Sample code that can be executed under a sandbox.
12 * quota.cs:     Sample code to test for a isolated storage quota permission.
13
14
15 More informations:
16
17 * http://blogs.msdn.com/shawnfa/archive/2004/10/25/247379.aspx
18 * http://blogs.msdn.com/shawnfa/archive/2004/10/22/246549.aspx  
19
20
21 Expected Results
22
23                 FullTrust       Intranet        Internet        Execution       Nothing
24 sandbox         ok              ok              ok              ok              fail [1]
25 whoami          ok              ok              fail            fail            fail [1]
26 sandbox whoami  ok              fail            fail            fail            fail [1]
27
28
29
30 Notes
31
32 [1]     This should be a "PolicyException: Execution permission cannot be 
33         acquired." but it's a SecurityException on Mono (atm).