Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.3 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- **********************************************************************-->
  3. <!-- -->
  4. <!-- Copyright (c) 2000-2001 Microsoft Corporation -->
  5. <!-- -->
  6. <!-- This schema defines the form of Security Policy -->
  7. <!-- -->
  8. <!-- **********************************************************************-->
  9. <!-- **********************************************************************-->
  10. <!-- -->
  11. <!-- Revision History (remove before shipping): -->
  12. <!-- -->
  13. <!-- 10/25/2001 - First Draft Security Policy schema (vishnup) -->
  14. <!-- -->
  15. <!-- **********************************************************************-->
  16. <xsd:schema
  17. xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  18. <!-- definition of simple types for Security Policy -->
  19. <xsd:simpleType name="ServiceStartupTypeEnum" base="NMTOKEN">
  20. <enumeration value="Disabled"/>
  21. <enumeration value="Ignored"/>
  22. <enumeration value="Automatic"/>
  23. <enumeration value="Manual"/>
  24. <enumeration value="Boot"/>
  25. </xsd:simpleType>
  26. <xsd:simpleType name="ServiceDisablemethodTypeEnum" base="NMTOKEN">
  27. <enumeration value="Explicit"/>
  28. <enumeration value="Implicit"/>
  29. </xsd:simpleType>
  30. <!-- definition of complex types for Security Policy -->
  31. <xsd:complexType name="SsrDataTypeSecurityPolicyService">
  32. <xsd:sequence>
  33. <xsd:attribute name="Name" use="required" type="xsd:string"/>
  34. <xsd:attribute name="StartupMode" use="required" type="ServiceStartupTypeEnum"/>
  35. </xsd:sequence>
  36. </xsd:complexType>
  37. <xsd:complexType name="SsrDataTypeSecurityPolicyServices">
  38. <xsd:sequence>
  39. <xsd:element name="Service" type="SsrDataTypeSecurityPolicyService" minOccurs="0" maxOccurs="unbounded"/>
  40. <xsd:attribute name="Disablemethod" use="required" type="ServiceDisablemethodTypeEnum"/>
  41. </xsd:sequence>
  42. </xsd:complexType>
  43. <!-- definition of the highest level complex type for Security Policy -->
  44. <xsd:element name="SSRSecurityPolicy">
  45. <xsd:complexType>
  46. <xsd:sequence>
  47. <xsd:element name="Services" type="SsrDataTypeSecurityPolicyServices" minOccurs="1" maxOccurs="1"/>
  48. </xsd:sequence>
  49. </xsd:complexType>
  50. </xsd:element>
  51. </xsd:schema>