Updated Branches: refs/heads/master e223dea28 -> 949714e39
CB-815 Update whitelisting for BlackBerry. Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/949714e3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/949714e3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/949714e3 Branch: refs/heads/master Commit: 949714e3932954622a92dd909f650955ee314d98 Parents: e223dea Author: Michael Brooks <mich...@michaelbrooks.ca> Authored: Wed May 30 14:36:37 2012 -0700 Committer: Michael Brooks <mich...@michaelbrooks.ca> Committed: Wed May 30 14:36:37 2012 -0700 ---------------------------------------------------------------------- docs/en/edge/guide/whitelist/index.md | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/949714e3/docs/en/edge/guide/whitelist/index.md ---------------------------------------------------------------------- diff --git a/docs/en/edge/guide/whitelist/index.md b/docs/en/edge/guide/whitelist/index.md index 8d7abd5..b50c564 100644 --- a/docs/en/edge/guide/whitelist/index.md +++ b/docs/en/edge/guide/whitelist/index.md @@ -72,6 +72,26 @@ Domain whitelisting is unsupported on Bada. By default, all domains are accessib BlackBerry ---------- +The whitelisting rules are found in `www/config.xml` and declared with the element `<access uri="..." />`. + +For a complete reference, see the [BlackBerry WebWorks Access Element documentation][8]. + +Access to [google.com][2]: + + <access uri="http://google.com" subdomains="false" /> + +Access to [maps.google.com][4]: + + <access uri="http://maps.google.com" subdomains="false" /> + +Access to all the subdomains on [google.com][2]: + + <access uri="http://google.com" subdomains="true" /> + +Access to all domains, including `file://` protocol: + + <access uri="*" subdomains="true" /> + iOS --- @@ -119,3 +139,4 @@ Domain whitelisting is unsupported on Windows Phone. By default, all domains are [5]: http://mail.google.com [6]: http://docs.google.com [7]: http://developer.mozilla.org +[8]: https://developer.blackberry.com/html5/documentation/ww_developing/Access_element_834677_11.html