/usr/share/pyshared/zope/app/security/globalmodules.zcml is in python-zope.app.security 3.7.5-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 | <configure
xmlns="http://namespaces.zope.org/zope"
xmlns:zcml="http://namespaces.zope.org/zcml">
<!-- 4. String Services -->
<module module="string">
<allow attributes="ascii_letters ascii_lowercase ascii_uppercase digits
hexdigits letters lowercase octdigits punctuation
printable uppercase whitespace atof atoi capitalize
capwords expandtabs find rfind index rindex count lower
maketrans split splitfields join joinfields lstrip
rstrip strip swapcase translate upper ljust rjust
center zfill replace" />
</module>
<module module="re">
<allow attributes="compile I IGNORECASE L LOCALE M MULTILINE S DOTALL U
UNICODE X VERBOSE search match split findall finditer
sub subn" />
</module>
<module module="struct">
<allow attributes="pack unpack calcsize" />
</module>
<module module="difflib">
<allow attributes="SequenceMatcher Differ context_diff get_close_matches
ndiff restore unified_diff" />
</module>
<module module="fpformat">
<allow attributes="fix sci NotANumber" />
</module>
<module module="StringIO">
<allow attributes="StringIO" />
</module>
<module module="cStringIO">
<allow attributes="StringIO InputType OutputType" />
</module>
<module module="textwrap">
<allow attributes="wrap fill dedent TextWrapper" />
</module>
<module module="codecs">
<allow attributes="lookup getencoder getdecoder getreader
getwriter lookup_error BOM BOM_BE BOM_LE BOM_UTF8
BOM_UTF16 BOM_UTF16_BE BOM_UTF16_LE BOM_UTF32
BOM_UTF32_BE BOM_UTF32_LE" />
</module>
<module module="unicodedata">
<allow attributes="lookup name decimal digit numeric category
bidirectional combining mirrored decomposition
normalize unidata_version" />
</module>
<module module="stringprep">
<allow attributes="in_table_a1 in_table_b1 map_table_b2 map_table_b3
in_table_c11 in_table_c12 in_table_c11_c12 in_table_c21
in_table_c22 in_table_c21_c22 in_table_c3 in_table_c4
in_table_c5 in_table_c6 in_table_c7 in_table_c8
in_table_c9 in_table_d1 in_table_d2" />
</module>
<!-- 5. Miscellaneous Services -->
<module module="unittest">
<allow attributes="TestCase FunctionTestCase TestSuite TestLoader
defaultTestLoader TextTestRunner main" />
</module>
<module module="decimal">
<allow attributes="Decimal Context DefaultContext BasicContext
ExtendedContext DecimalException Clamped
InvalidOperation DivisionByZero Inexact Rounded
Subnormal Overflow Underflow ROUND_DOWN ROUND_HALF_UP
ROUND_HALF_EVEN ROUND_CEILING ROUND_FLOOR ROUND_UP
ROUND_HALF_DOWN setcontext getcontext" />
</module>
<module module="math">
<allow attributes="acos asin atan atan2 ceil cos cosh degress exp fabs
floor fmod frexp hypot ldexp log log10 modf pow radians
sin sinh sqrt tan tanh pi e" />
</module>
<module module="cmath">
<allow attributes="acos acosh asin asinh atan atanh cos cosh exp log log10
sin sinh sqrt tan tanh pi e" />
</module>
<module module="random">
<allow attributes="seed getstate setstate jumpahead randrange randint
choice shuffle sample random uniform betavariate
expovariate gammavariate gauss lognormvariate
normalvariate vormisesvariate paretovariate
weibullvariate WichmannHill whseed" />
</module>
<module module="bisect">
<allow attributes="bisect_left bisect_right bisect insort_left
insort_right insort" />
</module>
<module module="heapq">
<allow attributes="heappush heappop heapify heapreplace" />
</module>
<module module="array">
<allow attributes="array ArrayType" />
</module>
<module module="itertools">
<allow attributes="chain count cycle dropwhile iffilter iffilterfalse imap
islice izip repeat starmap takewhile" />
</module>
<module module="ConfigParser">
<allow attributes="RawConfigParser ConfigParser SafeConfigParser
NoSectionError DuplicateSectionError NoOptionError
InterpolationError InterpolationDepthError
InterpolationMissingOptionError
InterpolationSyntaxError MissingSectionHeaderError
ParsingError MAX_INTERPOLATION_DEPTH" />
</module>
<module module="calendar">
<allow attributes="MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY
SUNDAY setfirstweekday firstweekday isleap leapdays
weekday monthrange monthcalendar prmonth month prcal
calendar timegm" />
</module>
<module module="cmd">
<allow attributes="Cmd" />
</module>
<module module="shlex">
<allow attributes="split shlex" />
</module>
<!-- 6. Generic Operating System Services -->
<module module="os.path">
<allow attributes="abspath basename commonprefix dirname isabs join
normcase normpath split splitdrive splitext" />
</module>
<module module="datetime">
<allow attributes="MINYEAR MAXYEAR date time datetime timedelta tzinfo" />
</module>
<module module="time">
<allow attributes="acceot2dyear altzone asctime clock ctime daylight
gmtime localtime mktime sleep strftime" />
</module>
<module module="sched">
<allow attributes="scheduler" />
</module>
<module module="getopt">
<allow attributes="getopt gnu_getopt GetoptError error" />
</module>
<module module="optparse">
<allow attributes="OptionParser" />
</module>
<module module="fnmatch">
<allow attributes="fnmatch fnmatchcase filter" />
</module>
<module module="gettext">
<allow attributes="bindtextdomain textdomain gettext dgettext ngettext
dngettext " />
</module>
<!-- 11. Internet Protocols and Support -->
<module module="cgi">
<allow attributes="parse parse_qs parse_qsl parse_multipart parse_header
escape" />
</module>
<module module="urllib">
<allow attributes="urlopen urlretrieve _urlopener urlcleanup quote
quote_plus unquote unquote_plus urlencode pathname2url
url2pathname URLopener FancyURLopener" />
</module>
<module module="urllib2">
<allow attributes="urlopen install_opener build_opener URLError HTTPError
GopherError Request OpenerDirector BaseHandler
HTTPDefaultErrorHandler HTTPRedirectHandler
ProxyHandler HTTPPasswordMgr
HTTPPasswordMgrWithDefaultRealm
AbstractBasicAuthHandler HTTPBasicAuthHandler
ProxyBasicAuthHandler AbstractDigestAuthHandler
HTTPDigestAuthHandler ProxyDigestAuthHandler
HTTPHandler HTTPSHandler FileHandler FTPHandler
CacheFTPHandler GopherHAndler UnknownHandler" />
</module>
<module module="httplib">
<allow attributes="HTTP_PORT HTTPS_PORT HTTPConnection HTTPSConnection
HTTPResponse HTTPException NotConnected InvalidURL
UnknownProtocol UnknownTransferEncoding
UnimplementedFileMode IncompleteRead
ImproperConnectionState CannotSendRequest
CannotSendHeader ResponseNotReady BadStatusLine" />
</module>
<module module="ftplib">
<allow attributes="FTP all_errors error_reply error_temp error_perm
error_proto" />
</module>
<!-- This package has been deprecated in Python 2.5; let's use a cheap way
of detecting Python 2.4 by checking whether the package "hashlib" is
not available, which has been added only in Python 2.5. -->
<module module="gopherlib"
zcml:condition="not-installed hashlib">
<allow attributes="send_selection send_query" />
</module>
<module module="poplib">
<allow attributes="POP3 error_proto" />
</module>
<module module="imaplib">
<allow attributes="IMAP4" />
</module>
<module module="nntplib">
<allow attributes="NNTP NNTPError NNTPReplyError NNTPTemporaryError
NNTPPermanentError NNTPProtocolError NNTPDataError" />
</module>
<module module="smtplib">
<allow attributes="SMTP SMTPException SMTPServerDisconnected
SMTPResponseException SMTPSenderRefused
SMTPRecipientsRefused SMTPDataError SMTPConnectError
SMTPHeloError" />
</module>
<module module="telnetlib">
<allow attributes="Telnet" />
</module>
<module module="urlparse">
<allow attributes="urlparse urlunparse urlsplit urlunsplit urljoin
urldefrag" />
</module>
<module module="Cookie">
<allow attributes="CookieError BaseCookie SimpleCookie" />
</module>
<module module="xmlrpclib">
<allow attributes="ServerProxy boolean binary" />
</module>
<!-- 12. Internet Data Handling -->
<module module="formatter">
<allow attributes="AS_IS AbstractFormatter AbstractWriter DumbWriter
NullFormatter NullWriter" />
</module>
<module module="email">
<allow attributes="message_from_file message_from_string" />
</module>
<module module="mailcap">
<allow attributes="findmatch getcaps" />
</module>
<module module="mailbox">
<allow attributes="UnixMailbox PortableUnixMailbox MmdfMailbox MHMailbox
Maildir BabylMailbox" />
</module>
<module module="mimetypes">
<allow attributes="guess_type guess_all_extensions guess_extension" />
</module>
<module module="rfc822">
<allow attributes="Message AddressList quote unquote parseaddr
dump_address_pair parsedate parsedate_tz mktime_tz" />
</module>
<module module="base64">
<allow attributes="decode decodestring encode encodestring" />
</module>
<module module="binascii">
<allow attributes="a2b_uu b2a_uu a2b_base64 b2a_base64 a2b_qp b2a_qp
a2b_hqx rledecode_hqx rlecode_hqx b2a_hqx crc_hqx
crc32 b2a_hex hexlify a2b_hex unhexlify Error
Incomplete" />
</module>
<module module="binhex">
<allow attributes="binhex hexbin Error" />
</module>
<module module="quopri">
<allow attributes="decode encode decodestring encodestring" />
</module>
<module module="uu">
<allow attributes="encode decode Error" />
</module>
<module module="xdrlib">
<allow attributes="Packer Unpacker" />
</module>
<module module="netrc">
<allow attributes="netrc NetrcParseError" />
</module>
<module module="robotparser">
<allow attributes="RobotFileParser" />
</module>
<module module="csv">
<allow attributes="reader writer register_dialect unregister_dialect
list_dialects DictReader DictWriter Dialect Sniffer
sniff has_header QUOTE_ALL QUOTE_MINIMAL
QUOTE_NONNUMERIC QUOTE_NONE Error" />
</module>
<!-- 13. Structured Markup Processing Tools -->
<module module="HTMLParser">
<allow attributes="HTMLParser" />
</module>
<module module="sgmllib">
<allow attributes="SGMLParser" />
</module>
<module module="htmllib">
<allow attributes="HTMLParser" />
</module>
<module module="htmlentitydefs">
<allow attributes="entitydefs name2codepoint codepoint2name" />
</module>
<module module="xml.parsers.expat">
<allow attributes="ExpatError error XMLParserType ErrorString
ParserCreate" />
</module>
<module module="xml.dom">
<allow attributes="registerDOMImplementation getDOMImplementation
EMPTY_NAMESPACE XML_NAMESPACE XMLNS_NAMESPACE
XHTML_NAMESPACE" />
</module>
<module module="xml.dom.minidom">
<allow attributes="parse parseString" />
</module>
<module module="xml.dom.pulldom">
<allow attributes="PullDOM DOMEventStrem SAX2DOM parse parseString
default_bufsize" />
</module>
<module module="xml.sax">
<allow attributes="make_parser parse parseString SAXException
SAXParseException SAXNotRecognizedException
SAXNotSupprotedException" />
</module>
<module module="xml.sax.handler">
<allow attributes="ContentHandler DTDHandler EntityResolver ErrorHandler
feature_namespaces feature_namespace_prefixes
feature_string_interning feature_validation
feature_external_ges feature_external_pes all_features
property_lexical_handler property_declaration_handler
property_dom_node property_xml_string all_properties" />
</module>
<module module="xml.sax.saxutils">
<allow attributes="escape unescape quoteattr XMLGenerator XMLFilterBase
prepare_input_source" />
</module>
<module module="xml.sax.xmlreader">
<allow attributes="XMLReader IncrementalParser Locator InputSource
AttributesImpl AttributesNSImpl" />
</module>
<!-- 15. Cryptographic Services -->
<module module="hmac">
<allow attributes="new" />
</module>
<!-- These packages has been deprecated in Python 2.6 in favor of hashlib;
let's use a cheap way of detecting Python<=2.5 by checking whether the
package "json" is not available, which has been added only in Python 2.6. -->
<module module="md5"
zcml:condition="not-installed json">
<allow attributes="new digest_size" />
</module>
<module module="sha"
zcml:condition="not-installed json">
<allow attributes="new blocksize digest_size" />
</module>
<!-- The following packages have been deprecated in Python 2.6 also.
We'll use the same trick. -->
<configure zcml:condition="not-installed json">
<module module="sets">
<allow attributes="Set ImmutableSet" />
</module>
<module module="mhlib">
<allow attributes="MH Folder Message" />
</module>
<module module="multifile">
<allow attributes="MultiFile" />
</module>>
</configure>
</configure>
|