# ForbiddenURLs Collection The ForbiddenURLs collection contains the forbidden URLs configured in the SiteKiosk configuration. Members Table The following table lists the members provided by the ForbiddenURLs collection.
Members
Properties | Description
Count | Contains the number of forbidden URLs.
Methods | Description
Item | Returns one item of the collection.
Remarks This collection is available through the object SessionSettings. Use the ForbiddenURLs collection to receive the forbidden URLs configured in the SiteKiosk configuration. Note that session settings are only provided by some payment devices like smartcards. Note that the path of a file using SiteKiosk objects must be allowed in the SiteKiosk configuration (Security -> Access -> URL's With Script Permission) if it is not a browser skin file. Examples The following example shows the number of forbidden URLs in an alert window.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    sitecash = SiteKiosk.Plugins("SiteCash");
    alert(sitecash.SessionSettings.ForbiddenURLs.Count);
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top