|
||
The URI List framework provides support for pre-configuration of URIs in the list. This enables clients to pre-define URIs before shipping the device to end users. The URIs can be pre-configured to both BlackList and WhiteList. The pre-configuration also allows clients to secure such URIs by disabling removal or modification of the URIs.
The pre-configuration is done by creating an XML data file and installing it in a server's secure path. The pre-configuration happens only once, that is, when the first session with the server is created after installing the XML file. When the server is started and if the URI List is empty, the server checks for an XML file in its private path. If it exists, it copies the data to the list.
Note: You cannot pre-configure the list after you have added URIs to it.
Here are the steps to be performed for pre-configuration of the URI List:
Create the XML data file referring to the DTD shown in the URI List pre-configuration DTD section.
Create an SIS package containing this XML file. Sign it with ProtServ capability.
Note: The installation path of the XML file is
c:\\private\\20009D70\\
. The name of the XML file should be
ineturilist.xml
.
Install the SIS package.
The DTD of URI List pre-configuration and a description of each element is given below.
<!--
Uri List pre-configuration Document Type Definition.
Copyright Symbian Software Pvt Ltd 2007. All rights reserved.
-->
<?xml version="1.0" encoding="UTF-8" ?>
<!ELEMENT URIList (WAPPush, Browser, PushEMail, DevPro)>
<!ELEMENT WAPPush (Whitelist, Blacklist)>
<!ELEMENT Browser (Whitelist, Blacklist)>
<!ELEMENT PushEMail (Whitelist, Blacklist)>
<!ELEMENT DevPro (Whitelist, Blacklist)>
<!ELEMENT Whitelist (Record)>
<!ELEMENT Blacklist (Record)>
<!ELEMENT Record ( Uri, Permission, FavouriteName)>
<!ELEMENT Uri (#PCDATA)>
<!ELEMENT Permission (#PCDATA)>
<!ELEMENT FavouriteName (#PCDATA)>
ELEMENT <URIList>
Element |
|
Semantics |
|
ELEMENT <WapPush>
Element |
|
Semantics |
|
ELEMENT <Browser>
Element |
|
Semantics |
|
ELEMENT <PushEMail>
Element |
|
Semantics |
|
ELEMENT <DevPro>
Element |
|
Semantics |
|
ELEMENT <Whitelist>
Element |
|
Semantics |
|
ELEMENT <Blacklist>
Element |
|
Semantics |
|
ELEMENT <record>
Element |
|
Semantics |
|
ELEMENT <Uri>
Element |
|
Semantics |
|
ELEMENT <Permission>
Element |
|
Semantics |
|
ELEMENT <FavouriteName>
Element |
|
Semantics |
|