1 2005-08-30 Sebastien Pouliot <sebastien@ximian.com>
3 * PolicyLevel.cs: Set SecurityManager.ResolvingPolicyLevel to the
4 current policylevel instance if we want to use the FullTrustAssemblies
7 2005-06-23 Sebastien Pouliot <sebastien@ximian.com>
9 * ApplicationSecurityManager.cs: Added basic calls to MonoTrustManager
10 * MonoTrustManager.cs: New. Default (non SWF) trust manager.
12 2005-06-23 Sebastien Pouliot <sebastien@ximian.com>
14 * ApplicationDirectory.cs, CodeConnectAccess.cs, Hash.cs,
15 NetCodeGroup.cs, PermissionRequestEvidence.cs, PolicyLevel.cs,
16 Publisher.cs. Site.cs, StrongName.cs, TrustManagerContext.cs. Url.cs:
17 better comments on remaining TODO (all 2.0 related) to ease grepping.
18 Reduced the number of casts in some Equals methods.
20 2005-06-16 Sebastien Pouliot <sebastien@ximian.com>
22 * StrongName.cs: Empty names are only verified in NET_2_0.
24 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
26 * Evidence.cs: Avoid creating the synchronized array lists unless they
28 * PolicyLevel.cs: Fixed System.Drawing public key. IsFullTrustAssembly
29 can now executed without a Demand for the AssemblyName. Added the
30 UnionCodeGroup in the default policies. Reworked initialization to
31 support FullyTrustedAssemblies.
33 2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
35 * PolicyLevel.cs: Added some missing initialization. More code reuse.
37 2005-06-01 Sebastien Pouliot <sebastien@ximian.com>
39 * DefaultPolicies.cs: Added a method to create the default FullTrust
40 assemblies in the policy configuration files.
41 * PolicyLevel.cs: Splitted loading/initializing of PolicyLevel so it's
42 now possible to load permissions outside corlib when resolving a
43 policy. However FullTrustAssemblies is still ignored at this stage.
45 2005-05-27 Sebastien Pouliot <sebastien@ximian.com>
47 * DefaultPolicies.cs: Refactored code to use the new PermissionBuilder
48 class. Removed references to SWF WebBrowserPermission as it is
49 documented as obsolete and will be removed before 2.0 final.
51 2005-05-26 Sebastien Pouliot <sebastien@ximian.com>
53 * DefaultPolicies.cs: New. Creates the default security policies.
54 Permissions outside corlib are commented due to a bug with CAS when
56 * PolicyLevel.cs: Fixed TODO for Recover method and for reserved names
57 in RemoveNamedPermissionSet method. Moved IsReserved method to new
58 DefaultPolicies class.
60 2005-05-16 Sebastien Pouliot <sebastien@ximian.com>
62 * FileCodeGroup.cs: Deal with null PolicyStatement.
63 * NetCodeGroup.cs: Deal with null PolicyStatement.
65 2005-05-16 Sebastien Pouliot <sebastien@ximian.com>
67 * FileCodeGroup.cs: Now use PermissionSet.Union when resolving.
68 * NetCodeGroup.cs: Now use PermissionSet.Union when resolving.
69 * PolicyStatement.cs: Fix some minor behaviours wrt to new unit tests.
70 * UnionCodeGroup.cs: Now use PermissionSet.Union when resolving.
72 2005-04-26 Sebastien Pouliot <sebastien@ximian.com>
74 * ApplicationTrust.cs: Completed TODO. Added missing set for
75 ApplicationIdentity property.
76 * ApplicationTrustCollection.cs: Completed TODO.
78 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
80 * AllMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
82 * ApplicationDirectory.cs: Added [ComVisible (true)] in NET_2_0 to
83 match beta2. Removed FIXME - confirmed as "by design" by MS.
84 * ApplicationDirectoryMembershipCondition.cs: Added [ComVisible (true)]
85 in NET_2_0 to match beta2.
86 * ApplicationSecurityInfo.cs: Updated to match beta2.
87 * ApplicationSecurityManager.cs: Updated to match beta2.
88 * ApplicationTrust.cs: Updated to match beta2.
89 * ApplicationTrustCollection.cs: Updated to match beta2.
90 * ApplicationTrustEnumerator.cs: Added [ComVisible (true)] to match
92 * ApplicationVersionMatch.cs: Added [ComVisible (true)] to match beta2.
93 * CodeConnectAccess.cs: Added [ComVisible (true)] to match beta2.
94 * CodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to match beta2.
95 Reworked Equals to avoid multiple typecast.
96 * Evidence.cs: Updated to match beta2. Now use internal method
97 Assembly.UnprotectedGetName during security manager initialization.
98 * FileCodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to match
99 beta2. Removed Scope property (didn't survive beta2).
100 * FirstMatchCodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to
102 * Gac.cs: Renamed class to GacInstalled. Added [ComVisible (true)] to
104 * GacMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
106 * Hash.cs: Added [ComVisible (true)] in NET_2_0 to match beta2.
107 * HashMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
108 match beta2. Reworked Equals to avoid multiple typecast.
109 * IApplicationTrustManager.cs: Added [ComVisible (true)] to match
111 * IIdentityPermissionFactory.cs: Added [ComVisible (true)] in NET_2_0
113 * IMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
115 * NetCodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to match
116 beta2. Removed Scope property (didn't survive beta2).
117 * PermissionRequestEvidence.cs: Added [ComVisible (true)] in NET_2_0
119 * PolicyException.cs: Added [ComVisible (true)] in NET_2_0 to match
121 * PolicyLevel.cs: Added [ComVisible (true)] in NET_2_0 to match beta2.
122 * PolicyStatementAttribute.cs: Added [ComVisible (true)] in NET_2_0 to
124 * PolicyStatement.cs: Added [ComVisible (true)] in NET_2_0 to match
126 * ProvideAssemblyEvidenceEventArgs.cs: Added [ComVisible (true)] to
128 * Publisher.cs: Added [ComVisible (true)] in NET_2_0 to match beta2.
129 Reworked Equals to avoid multiple typecast.
130 * PublisherMembershipCondition.cs: Added [ComVisible (true)] in
131 NET_2_0 to match beta2. Reworked Equals to avoid multiple typecast.
132 * Site.cs: Added [ComVisible (true)] in NET_2_0 to match beta2. Fixed
133 allowed characters accepted in site names (different in 2.0 from 1.x).
134 * SiteMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
136 * StrongName.cs: Added [ComVisible (true)] in NET_2_0 to match beta2.
137 * StrongNameMembershipCondition.cs: Added [ComVisible (true)] in
138 NET_2_0 to match beta2.
139 * TrustManagerContext.cs: Updated to match beta2.
140 * TrustManagerUIContext.cs: Added [ComVisible (true)] to match beta2.
141 * UnionCodeGroup.cs: Added [ComVisible (true)] in NET_2_0 to match
143 * Url.cs: Added [ComVisible (true)] in NET_2_0 to match beta2. Fixed
144 the difference in Url matching between 1.x and 2.0. Reworked Equals to
145 avoid multiple typecast.
146 * UrlMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
147 match beta2. Fixed the difference in Url matching between 1.x and 2.0.
148 * Zone.cs: Added [ComVisible (true)] in NET_2_0 to match beta2.
149 Reworked Equals to avoid multiple typecast.
150 * ZoneMembershipCondition.cs: Added [ComVisible (true)] in NET_2_0 to
153 2005-04-05 Sebastien Pouliot <sebastien@ximian.com>
155 * Hash.cs: Added Assert for FileIOPermission to GetData so it's
156 possible to get the Hash evidence under partial trust.
158 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
160 * Evidence.cs: Build the default host evidences requires access to the
161 file system even if running on partial trust (so we assert it).
163 2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
165 * PolicyLevel.cs: Fixed RemoveNamedPermissionSet when used with a
167 * Zone.cs: Fixed zone for URIs without a scheme.
169 2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
171 * ApplicationTrustCollection.cs: Updated for Dec CTP.
172 * ApplicationTrust.cs: Updated for Dec CTP.
173 * ApplicationSecurityInfo.cs: Updated for Dec CTP.
174 * ApplicationSecurityManager.cs: Updated for Dec CTP.
176 2005-01-18 Sebastien Pouliot <sebastien@ximian.com>
178 * Evidence.cs: Fix problem with default evidence when ICU is enabled.
181 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
183 * Hash.cs: Fix regression in 2.0 to load default (hash) evidences.
185 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
187 * Hash.cs: Fix exception reporting for new methods in 2.0.
188 * Publisher.cs: Fixed unit tests failures under 2.0 (some exceptions
190 * PublisherMembershipCondition.cs: Fixed unit tests failures under 2.0
191 (some exceptions were changed).
193 2005-01-07 Raja R Harinath <rharinath@novell.com>
195 * IMembershipCondition.cs (Equals,ToString): Disable when building
198 2005-01-04 Sebastien Pouliot <sebastien@ximian.com>
200 * CodeGroup.cs: Removed FIXME as this was fixed (when?) in [g]mcs.
202 2004-11-26 Sebastien Pouliot <sebastien@ximian.com>
208 * PolicyStatement.cs:
209 Added ComVisible attributes to match 2.0 October Preview.
211 2004-11-26 Sebastien Pouliot <sebastien@ximian.com>
213 * Evidence.cs: Faster default evidence creation by using an internal
214 call to check for a possible Authenticode signature of the assembly.
215 Previously we had to make several I/O to verify this (quite rare)
216 presence (but the runtime already had a good hint about this).
218 2004-10-20 Sebastien Pouliot <sebastien@ximian.com>
220 * Evidence.cs: Fix the case where GetPublicKey returns a 0 length
221 byte array so that we don't create an invalid StrongName evidence.
223 2004-09-19 Alexis Christoforides <alexis@thenull.net>
225 * CodeGroup.cs: Changed AddChild() to add a copy of the child, like
226 the MS implementation.
227 * UnionCodeGroup.cs: Resolve() will now perform union on child code
229 * FileCodeGroup.cs: Resolve() will now perform union on child code
231 * NetCodeGroup.cs: Resolve() will now perform union on child code
234 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
236 * PolicyLevel.cs: Fixed warning by re-activating safeguard
238 2004-09-03 Sebastien Pouliot <sebastien@ximian.com>
240 * CodeGroup.cs: Creates an empty PermissionSet (and not an empty
241 NamedPermissionSet). Required to run the MSDN library samples.
242 * FileCodeGroup.cs: Fixed Copy so that CodeGroup.Equals would work
243 preperly. Required to run the MSDN library samples.
244 * FirstMatchCodeGroup.cs: Reworked the Resolve* logic to run the MSDN
246 * PolicyLevel.cs: Fixed RemoveNamedPermissionSet and (more) complete
247 CreateAppDomainLevel to run the MSDN library samples.
248 * StrongNameMembershipCondition.cs: Fix ToXml to run the MSDN library
251 2004-09-02 Sebastien Pouliot <sebastien@ximian.com>
253 * Site.cs: Updated to match latest unit tests, i.e. match Fx 1.1 on
254 NET_1_1 and Fx 2.0 (beta 1) in NET_2_0.
256 2004-09-01 Sebastien Pouliot <sebastien@ximian.com>
258 * PolicyLevel.cs: Fixed Reset not to delete/load policy file for
259 AppDomain level. Added internal Resolve method for class names.
261 2004-08-30 Sebastien Pouliot <sebastien@ximian.com>
263 * ApplicationDirectory.cs: Now use Uri class to create the local
264 application directory.
265 * ApplicationDirectoryMembershipCondition.cs: Now use Uri class to
267 * Site.cs: Implemented CreateFromUrl using Uri class.
268 * Url.cs: Now use Uri class to prepare URLs.
269 * UrlMembershipCondition.cs: Now use Url class (instead of a string)
271 * Zone.cs: Implemented default CreateFromUrl using Uri class.
273 2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
275 * ApplicationSecurityManager.cs: New stub for Fx 2.0 application trust
277 * ApplicationSecurityManagerCodeGroup.cs: New stubbed code group for
279 * ApplicationTrustCollection.cs: New. ApplicationTrust collection for
281 * ApplicationTrustEnumerator.cs: New. ApplicationTrust enumerator for
284 2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
286 * ApplicationDirectory.cs: Fixed directory validation and ToString.
287 * CodeGroup.cs: Fixed PermissionSetName when policy is null.
288 * Evidence.cs: Fixed Merge for null case. Fixed IsSynchronized for
289 NET_2_0. Uncommented some code for NET_2_0 DomainManager usage.
290 * FileCodeGroup.cs: Fixed Resolve and ResolveMatchingGroup wrt new
292 * Gac.cs: Implemented IBuiltInEvidence methods.
293 * Hash.cs: Removed TODO from NET_2_0 as it's hashing seems compatible
294 with Mono ;-). Fixed properties for use with NET_2_0.
295 * HashMembershipCondition.cs: Fixed To|FromXml serialization. Make
296 copies of hash value (not references).
297 * PermissionRequestEvidence.cs: Now make copies of permission sets.
298 * Publisher.cs: Namespace cleanup, implemented GetRequiredSize.
299 * Site.cs: Namespace cleanup, implemented GetRequiredSize.
300 * StrongName.cs: Namespace cleanup.
301 * UnionCodeGroup.cs: Namespace cleanup, converted spaces to tabs.
302 * Url.cs: Namespace cleanup, implemented GetRequiredSize.
303 * Zone.cs: Namespace cleanup, globalization and added more details in
306 2004-08-24 Sebastien Pouliot <sebastien@ximian.com>
308 * UrlMembershipCondition.cs: Check now only iterate host provided
310 * ZoneMembershipCondition.cs: FromXml doesn't throw exceptions if Zone
311 attribute is missing.
313 2004-08-23 Sebastien Pouliot <sebastien@ximian.com>
315 * AllMembershipCondition.cs: Use common template for membership
317 * ApplicationDirectoryMembershipCondition.cs: Use common template for
318 membership condition. Limit evidences checks to host provided.
319 "Mostly" functionnal - still need to check c14n issues.
320 * ApplicationMembershipCondition.cs: New. For NET_2_0 profile.
321 * DomainApplicationMembershipCondition.cs: New. For NET_2_0 profile.
322 * GacMembershipCondition.cs: Use common template for membership
323 condition. Limit evidences checks to host provided.
324 * HashMembershipCondition.cs: Use common template for membership
325 condition. Limit evidences checks to host provided.
326 * MembershipConditionHelper.cs: Internal class for common membership
327 condition classes functionalities.
328 * PublisherMembershipCondition.cs: Use common template for membership
330 * SiteMembershipCondition.cs: Use common template for membership
332 * StrongNameMembershipCondition.cs: Use common template for membership
334 * UrlMembershipCondition.cs: Use common template for membership
336 * ZoneMembershipCondition.cs: Use common template for membership
339 2004-08-12 Sebastien Pouliot <sebastien@ximian.com>
341 * ZoneMembershipCondition.cs: Added missing tag name validation in
344 2004-08-11 Sebastien Pouliot <sebastien@ximian.com>
346 * ApplicationSecurityInfo.cs: Added missing interfaces.
347 * PolicyLevel.cs: Load policies from files, using *.default files if
348 policy is missing (like Fx 2.0). Fixed Resolve never to return null.
349 Added hardcoded policy defaults (to be updated as CAS progress) in
350 case no policy file, nor default files, are available.
351 * PolicyStatement.cs: Fixed AttributeString. Added internal static
352 Empty method (helper).
354 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
356 * ApplicationSecurityInfo.cs: New. Stub for NET_2_0.
358 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
360 * Evidence.cs: Added new static internal method to create default
361 host evidences for an assembly.
362 * FileCodeGroup.cs: Added incomplete (no children) policy resolution
363 in order to load more complex policies.
364 * Hash.cs: Added ISerialization support (required for cross-domain
365 evidence support, like nunit).
366 * NetCodeGroup.cs: Added incomplete (no children) policy resolution in
367 order to load more complex policies.
369 2004-08-04 Sebastien Pouliot <sebastien@ximian.com>
371 * Gac.cs: New. Implemented Gac evidence for NET_2_0.
372 * GacMembershipCondition.cs: New. for NET_2_0.
373 * Zone.cs: (Very) basic implementation of CreateFromUrl so we can
374 create a Zone evidence using an assembly location (file://...).
375 * ZoneMembershipCondition.cs: Fixed implementation wrt new unit tests.
376 Added missing "class" attribute in ToXml.
378 2004-08-03 Sebastien Pouliot <sebastien@ximian.com>
380 * CodeGroup.cs: Added PolicyLevel parameter to internal
381 constructor. Added support for attribute PermissionSetName in
383 * FileCodeGroup.cs: Added PolicyLevel parameter to internal
385 * FirstMatchCodeGroup.cs: Added PolicyLevel parameter to internal
387 * NetCodeGroup.cs: Added PolicyLevel parameter to internal
389 * PolicyLevel.cs: Throw a PolicyException when asked to save a
390 AppDomain policy. Use new CodeGroup constructor with "this".
391 * UnionCodeGroup.cs: Added PolicyLevel parameter to internal
392 constructor. Added Copy(bool) to copy, or not, the childs.
394 2004-08-02 Sebastien Pouliot <sebastien@ximian.com>
396 * CodeGroup.cs: Fixed Equals (true) which, strangely, only compares
397 on level of children.
398 * HashMembershipCondition.cs: Added empty constructor so Activator.
399 CreateInstance can work.
400 * PolicyLevel.cs: Implemented PolicyType (NET_2_0), Resolve and Save.
401 * PublisherMembershipCondition.cs: Added empty constructor so
402 Activator.CreateInstance can work.
403 * SiteMembershipCondition.cs: Added empty constructor so Activator.
404 CreateInstance can work.
405 * StrongNameMembershipCondition.cs: Added empty constructor so
406 Activator.CreateInstance can work.
407 * UnionCodeGroup.cs: Partial implementation for Resolve (missing
408 children support). Implemented ResolveMatchingCodeGroups.
409 * ZoneMembershipCondition.cs: Added empty constructor so Activator.
410 CreateInstance can work. Removed "class" validation in FromXml.
412 2004-07-14 Sebastien Pouliot <sebastien@ximian.com>
414 * NetCodeGroup.cs: Added Equals/GetHashCode methods to NET_2_0 profile.
415 * PolicyLevel.cs: Added internal constructor to load a policy file
416 from SecurityManager.
418 2004-07-13 Sebastien Pouliot <sebastien@ximian.com>
420 * Evidence.cs: Implemented Equals/GetHashCode and added Clear and
421 RemoveType methods for NET_2_0 profile.
422 * FileCodeGroup.cs: Added Scope property for NET_2_0 profile.
423 * Hash.cs: Added static CreateMD5 and CreateSHA1 for NET_2_0 profile.
424 * HashMembershipCondition.cs: Implements IDeserializationCallback and
425 ISerializable for NET_2_0 profile.
426 * NetCodeGroup.cs: Add methods related to CodeConnectAccess for
428 * PolicyException.cs: Implements _Exception for NET_2_0 profile.
429 * PolicyLevel.cs: Added Type property for NET_2_0 profile.
430 * PolicyStatement.cs: Implemented Equals/GetHashCode for NET_2_0
433 2004-07-13 Sebastien Pouliot <sebastien@ximian.com>
435 * ApplicationDefaultCodeGroup.cs: New class in Fx 2.0.
436 * ApplicationInstallScope.cs: New enum in Fx 2.0.
437 * ApplicationTrust.cs: New class in Fx 2.0.
438 * ApplicationVersionMatch.cs: New enum in Fx 2.0.
439 * CodeConnectAccess.cs: New class in Fx 2.0.
440 * CodeGroupGrantScope.cs: New enum in Fx 2.0.
441 * IApplicationTrustManager.cs: New interface in Fx 2.0.
442 * ITrustLicenseIssuerCollection.cs: New interface in Fx 2.0.
443 * ITrustManager.cs: New interface in Fx 2.0.
444 * ITrustManagerConfig.cs: New interface in Fx 2.0.
445 * PromptingLevel.cs: New enum in Fx 2.0.
446 * ProvideAssemblyEvidenceEventArgs.cs: New class in Fx 2.0.
447 * TrustLicenseIssuer.cs: New class in Fx 2.0.
448 * TrustManagerContext.cs: New class in Fx 2.0.
449 * TrustManagerUIContext.cs: New enum in Fx 2.0.
450 * TrustManagerZoneConfig.cs: New class in Fx 2.0.
452 2004-06-18 Sebastien Pouliot <sebastien@ximian.com>
454 * StrongNameMembershipCondition.cs: Added missing [Serializable]
456 * ZoneMembershipCondition.cs: Added missing [Serializable] attribute.
458 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
460 * Evidence.cs: added TODO for serialization
462 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
464 * Publisher.cs: removed extra finalizer to fix public API
465 signature, renamed private field for serialization compatibility
468 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
470 * Url.cs: Call invariant ToUpper
472 2004-03-22 Sebastien Pouliot <sebastien@ximian.com>
474 * PublisherMembershipCondition.cs: Now use CryptoConvert for
475 Hexadecimal convertions.
477 2004-01-28 Sebastien Pouliot <spouliot@videotron.ca>
479 * StrongName.cs: XML now use Type.Name (instead of Type.FullName) to
480 match the XML generated by MS.
482 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
484 * CodeGroup.cs: make it build with mcs. This is a BUG.
486 2004-01-26 Sebastien Pouliot <spouliot@videotron.ca>
488 * AllMembershipCondition.cs: Clean up. Removed FIXME.
489 * ApplicationDirectoryMembershipCondition.cs: Basic (incomplete) Check.
490 * ApplicationDirectory.cs: Added IBuiltInEvidence (to please corcompare).
491 * CodeGroup.cs: Now use Activator for [Named]PermissionSet. Change
492 Equals so it can compile with mcs.
493 * Hash.cs: Added IBuiltInEvidence (to please corcompare).
494 * PolicyLevel.cs: Minor changes to use the new empty constructors in
495 [Named]PermissionSet.
496 * PermissionRequestEvidence.cs: Added IBuiltInEvidence (to please
497 corcompare). Now use SecurityElement in ToString.
498 * Publisher.cs: Added IBuiltInEvidence (to please corcompare).
499 * Site.cs: Added IBuiltInEvidence (to please corcompare).
500 * StrongName.cs: Added IBuiltInEvidence (to please corcompare). Now use
501 SecurityElement in ToString. Removed TODO on CreateIdentityPermission
502 (evidence isn't required in this case).
504 2004-01-14 Sebastien Pouliot <spouliot@videotron.ca>
506 * Url.cs: Added IBuiltInEvidence (corcompare) and new static methods
507 to prepare and compare urls.
508 * UrlMembershipCondition.cs: Added missing [Serializable] attribute
509 and set_Url property. Implemented Check. Fixed Equals and To/FromXml.
511 2004-01-05 Sebastien Pouliot <spouliot@videotron.ca>
513 * CodeGroup.cs: Added internal constructor for PolicyLevel. Complete
514 FromXml. Various small fixes to match the unit tests.
515 * FileCodeGroup.cs: Added internal constructor for PolicyLevel.
516 Implemented GetHashCode (may not be exactly the same as MS).
517 * FirstMatchCodeGroup.cs: Added internal constructor for PolicyLevel.
518 Copy method now returns a deep copy (as documented).
519 * NetCodeGroup.cs: Added internal constructor for PolicyLevel. Fixed
520 "Same site Web" (as documented) to "Same site Web." (as real life).
521 Copy method now returns a deep copy (as documented).
522 * PolicyLevel.cs: Added missing ChangeNamedPermissionSet. Implemented
523 FromXml method. Added internal methods to load from file or string.
524 Added/changed lots of things to match unit tests.
525 * StrongNameMembershipCondition.cs: Added internal constructor for
526 PolicyLevel. Fixed Equals.
527 * UnionCodeGroup.cs: Added internal constructor for PolicyLevel.
528 Copy method now returns a deep copy (as documented).
530 2004-01-03 Sebastien Pouliot <spouliot@videotron.ca>
532 * Site.cs: Completed implementation.
533 * SiteMembershipCondition.cs: New. Implemented.
535 2004-01-02 Sebastien Pouliot <spouliot@videotron.ca>
537 * ApplicationDirectory.cs: Added to build. Commented IBuildInEvidence
539 * Evidence.cs: Synchronised collections (IsSynchronized is always true).
540 Add Locked property and Security exceptions.
541 * Publisher.cs: Now use SecurityElement in ToString. Removed TODO for
542 CreateIdentityPermission (Evidence is useless).
543 * StrongNameMembershipCondition.cs: Added IConstantMembershipCondition
544 interface. Implemented Check method.
545 * Url.cs: Implemented CreateIdentityPermission.
546 * UrlMembershipCondition.cs: Added IConstantMembershipCondition interface.
547 * ZoneMembershipCondition.cs: Added IConstantMembershipCondition
548 interface. Implemented Check method.
550 2004-01-01 Nick Drochak <ndrochak@gol.com>
552 * PermissionRequestEvidence.cs: New File
554 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
556 * PublisherMembershipCondition.cs: Completed TODO.
558 2003-08-05 Duncan Mak <duncan@ximian.com>
560 * ZoneMembershipCondition.cs: Added.
562 * StrongNameMembershipCondition.cs:
563 * UrlMembershipCondition.cs: (FromXml): Throw exceptions when the
564 headers do not match.
566 * PolicyStatement.cs (FromXml):
567 (ToXml): Implemented.
569 2003-08-04 Duncan Mak <duncan@ximian.com>
571 * IConstantMembershipCondition.cs: added.
573 * AllMembershipCondition.cs:
574 * ApplicationDirectoryMembershipCondition.cs:
575 * PublisherMembershipCondition.cs: Added
576 IConstantMembershipCondition marker interface.
578 2003-08-03 Duncan Mak <duncan@ximian.com>
580 * StrongNameMembershipCondition.cs:
581 * UrlMembershipCondition.cs: Implemented.
583 2003-08-01 Duncan Mak <duncan@ximian.com>
585 * PolicyStatement.cs (Copy): Added.
587 * PolicyLevel.cs: Implemented missing methods.
589 2003-07-31 Duncan Mak <duncan@ximian.com>
591 * Site.cs (IsValidSite): new method for checking the validing of
594 2003-07-30 Duncan Mak <duncan@ximian.com>
596 * Url.cs (ToString): It should output an XML string, not just the
599 2003-07-28 Duncan Mak <duncan@ximian.com>
603 * Url.cs: Added to CVS, basic functionality implemented, except
604 for CreateIdentityPermission (Site, Url) and the Resolve methods
607 2003-06-29 Sebastien Pouliot <spouliot@videotron.ca>
609 * ApplicationDirectory.cs: Added [Serializable] attribute to class.
610 * Evidence.cs: Added [Serializable] attribute to class.
611 * FirstMatchCodeGroup.cs: Added [Serializable] attribute to class.
612 * HashMembershipCondition.cs: Added [Serializable] attribute to class.
613 * NetCodeGroup.cs: Added [Serializable] attribute to class.
614 * PublisherMembershipCondition.cs: Added [Serializable] attribute to class.
615 * Zone.cs: Added [Serializable] attribute to class.
617 2003-01-05 Sebastien Pouliot <spouliot@videotron.ca>
619 * Hash.cs: Added [Serializable] and ISerializable to class declaration.
620 Changed how the hash algorithm are created (now use system default
621 implementation). Added some exception handling.
623 2002-12-20 Jackson Harper <jackson@latitudegeo.com>
625 * Evidence.cs: Copy constructor does not attempt to merge if it recieves a null ref
627 2002-12-16 Sebastien Pouliot <spouliot@videotron.ca>
629 * StrongName.cs: New. Implemented.
631 2002-12-15 Sebastien Pouliot <spouliot@videotron.ca>
633 * Publisher.cs: New. Implemented.
634 * PublisherMembershipCondition.cs: New. X509 related stuff implemented.
636 2002-11-28 Jackson Harper <jackson@latitudegeo.com>
638 * NetCodeGroup.cs: Added file
640 2002-11-17 Jackson Harper <jackson@latitudegeo.com>
642 * FirstMatchCodeGroup.cs: Added Copyright
644 2002-11-17 Jackson Harper <jackson@latitudegeo.com>
646 * HashMembershipCondition.cs: Added file
648 2002-11-14 Jackson Harper <jackson@latitudegeo.com>
650 * Hash.cs: ToString now uses the SecurityElement class, Assembly byte data is cached after the first load
652 2002-11-11 Jackson Harper <jackson@latitudegeo.com>
654 * FirstMatchCodeGroup.cs: Made class sealed
656 2002-11-5 Jackson Harper <jackson@latitudegeo.com>
658 * ApplicationDirectory.cs: Fixed (C) in file header
660 2002-10-29 Nick Drochak <ndrochak@gol.com>
662 * Hash.cs: Fix build issues. Add some using statements mostly.
664 2002-10-28 Jackson Harper <jackson@latitudegeo.com>
666 * FirstMatchCodeGroup.cs, Hash.cs: New classes, somewhat finished
668 2002-10-28 Jackson Harper <jackson@latitudegeo.com>
670 * ApplicationDirectoryMembershipCondition.cs: Implemented most methods
672 2002-10-28 Jackson Harper <jackson@latitudegeo.com>
674 * ApplicationDirectory.cs: Added class
676 2002-10-28 Jackson Harper <jackson@latitudegeo.com>
678 * AllMembershipCondition.cs: Made GetHashCode act more like
679 MS version. All AllMembershipCondition instance's will return
680 the same hashcode but this hashcode should still be unique to
681 AllMembership Condition's.
684 2002-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
686 * IBuiltInEvidence.cs: New file.
687 * Zone.cs: New file. Implemented.
689 2002-06-10 Duncan Mak <duncan@ximian.com>
691 * IMembershipCondition.cs (Equals): Add missing methods.
693 2002-03-17 Nick Drochak <ndrochak@gol.com>
695 * ApplicationDirectoryMembershipCondition.cs: New file (stub)
697 2002-02-14 Nick Drochak <ndrochak@gol.com>
699 * FileCodeGroup.cs: Finish Equals()
701 2002-02-13 Dan Lewis <dihlewis@yahoo.co.uk>
703 * PolicyStatement: New file (stub)
705 2002-02-09 Nick Drochak <ndrochak@gol.com>
707 * FileCodeGroup.cs: New file. All done except for GetHashCode and
709 * CodeGroup.cs: Fix small bug in ToXml()
710 * Evidence.cs: Added method stub needed by FileCodeGroup.cs. Added
713 2002-02-07 Nick Drochak <ndrochak@gol.com>
715 * CodeGroup.cs: Went as far as I can for now. Need to look at
716 the (To|From)XML methods when I understand PolicyLevels better.
718 2002-02-02 Nick Drochak <ndrochak@gol.com>
720 * CodeGroup.cs: Not done, but checking in now just in case
722 2002-01-30 Nick Drochak <ndrochak@gol.com>
724 * CodeGroup.cs: New file. Not nearly done with this, but saving it
726 * PolicyLevel.cs: Sarted just a bit on this then relized i need CodeGroup
727 first (among others). Checking in for disaster recovery.
729 2002-01-29 Nick Drochak <ndrochak@gol.com>
731 * PolicyStatementAttribute.cs: New file.
732 * PolicyException.cs: Use correct namespace
733 * PolicyLevel.cs: Add [Serializable] to class
735 2002-01-19 Duncan Mak <duncan@ximian.com>
737 * PolicyException.cs: New File.
739 2002-01-03 Nick Drochak <ndrochak@gol.com>
741 * IIdentityPermissionFactory.cs: New File
742 * IMembershipCondition: New File
744 2001-12-29 Nick Drochak <ndrochak@gol.com>
746 * PolicyLevel.cs: New file
748 2001-12-21 Miguel de Icaza <miguel@ximian.com>
750 * SecurityElement.cs, CodeAccessPermission.cs IPermission.cs
751 IStackWalk.cs SecurityElement.cs ISecurityEncodable.cs: New files.