Apple Computer Hardware manual Creating a Custom Whitelist

Models: Computer Hardware

1 45
Download 45 pages 11.89 Kb
Page 31
Image 31

Creating a Custom Whitelist

To create a custom whitelist, create a plain text file named whitelist.plist in: /Library/Application Support/Apple/WikiServer/

The following sections describe this example whitelist.plist in detail:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple. com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0"> <dict>

<key>protocols</key>

<array>

<string>irc</string>

<string>scp</string>

</array>

<key>styles</key>

<array> <string>font-size</string>

</array>

<key>tags</key>

<dict>

<key>object</key>

<array>

<string>width</string>

<string>height</string>

</array>

<key>param</key>

<array>

<string>name</string>

<string>value</string>

</array>

<key>embed</key>

<array>

<string>src</string>

<string>type</string>

<string>width</string>

<string>height</string>

</array>

</dict>

</dict>

</plist>

Chapter 2    Allowing Specific Protocols, CSS Styles, and HTML Tags and Attributes

31

Page 31
Image 31
Apple Computer Hardware manual Creating a Custom Whitelist