<?xml version="1.0" encoding="UTF-8"?>
|
<!DOCTYPE html
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!--#config errmsg="" --><!-- saved from url=(0022)http://help.adobe.com/ -->
|
<html lang="en-us">
|
<head>
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
<meta name="lang" content="en-us" />
|
<meta name="area" content="livedocs" />
|
<title>Adobe ColdFusion 10 * Security section</title>
|
<link rel="shortcut icon" href="images/ColdFusionLinkIndicator.png" />
|
<meta name="book" content="Configuring and Administering ColdFusion 10" />
|
<meta name="product" content="ColdFusion" />
|
<meta name="keywords" content="" /><!--<PageMap><DataObject type="document"><Attribute name="product" value="ColdFusion"></Attribute><Attribute name="book" value="Configuring and Administering ColdFusion 10"></Attribute><Attribute name="keywords" value=""></Attribute></DataObject></PageMap>-->
|
|
<script type="text/javascript" language="Javascript" charset="UTF-8"><!--[CDATA[
|
var currentTreeNode = "WSc3ff6d0ea77859461172e0811cbf364104-7ff4.html";
|
document.cookie = "topicId=" + "WSc3ff6d0ea77859461172e0811cbf364104-7ff4.html";
|
// ]]--></script>
|
<script src="terms.js" type="text/javascript" language="Javascript" charset="UTF-8">...</script> <script src="help.js" type="text/javascript" language="Javascript" charset="UTF-8">...</script> <script src="utilities.js" type="text/javascript" language="Javascript" charset="UTF-8">...</script> <script src="event.js" type="text/javascript" language="Javascript" charset="UTF-8">...</script> <script src="treeview.js" type="text/javascript" language="Javascript" charset="UTF-8">...</script> <script src="toc.js" language="Javascript" type="text/javascript" charset="UTF-8">..</script> <script src="swfobject.js" language="Javascript" type="text/javascript" charset="UTF-8">..</script> <script src="booklist.js" language="Javascript" type="text/javascript" charset="UTF-8">..</script>
|
<script type="text/javascript">
|
<!--[CDATA[
|
var topictype = "topic";
|
var headId = document.getElementsByTagName("head")[0];
|
if (use_ie_6_behavior) {
|
var linkId = document.createElement("link");
|
linkId.href = "content-ie6.css";
|
linkId.rel = "stylesheet";
|
linkId.type = "text/css";
|
headId.appendChild(linkId);
|
}
|
function initRoboHelpDOM() {
|
if (use_chm_behavior) {
|
hideElement("search");
|
}
|
if (use_robohelp_behavior) {
|
hideElement("search");
|
hideElement("productmenu");
|
//hideElement("notyourversion");
|
}
|
if(!use_chc_behavior) {
|
//document.getElementById("notyourversion").style.display = "inline";;
|
}
|
}
|
var dirname = location.pathname.match( /.*\// );
|
function setSearchUserPref(){
|
if ( document.cookie.indexOf( "ah_searchpref" ) > -1 ) {
|
if ( document.cookie.indexOf( dirname ) > 0 ) {
|
document.search.gsa.checked = true ;
|
}else{
|
document.search.gsa.checked = false ;
|
}
|
}
|
}
|
YAHOO.util.Event.onDOMReady(initRoboHelpDOM);
|
YAHOO.util.Event.onDOMReady(setSearchUserPref);
|
// ]]-->
|
</script>
|
<!--#include virtual="/ssi/globalheader.ssi" -->
|
<!--#include virtual="/en_US/ssi/localheader.ssi" -->
|
<!--#include virtual="header.ssi" -->
|
<link rel="stylesheet" type="text/css" href="tree.css" />
|
<link rel="stylesheet" type="text/css" href="content.css" />
|
<link rel="stylesheet" type="text/css" href="localeSpecific.css" />
|
</head>
|
<body id="content_body" onload="window.focus();">
|
<a name="top" shape="rect"><!--LeaveCommentHere--></a>
|
|
<div id="mnemonic">
|
<div class="ColdFusion"><div class="banner"><a href="WSf01dbd23413dda0e51f089d212047ee7a02-8000.html">Adobe ColdFusion 10</a></div></div>
|
</div>
|
|
<div id="searchbar">
|
<table id="searchbartable">
|
<tr>
|
<td colspan="2">
|
<div id="pdf"><img src="images/PDF.gif" width="16" height="16" hspace="10" /> 
|
<a title="View Help PDF" href="http://help.adobe.com/en_US/ColdFusion/10.0/Admin/coldfusion_10_admin.pdf">View Help PDF (adobe.com)</a></div>
|
</td>
|
</tr>
|
</table>
|
</div>
|
|
<!-- BEGIN SEARCH CONTENT -->
|
<form id="search" name="search" action="search.html" target="_self">
|
<script type="text/javascript">
|
<!--[CDATA[
|
if ( !use_chc_behavior ){
|
if (typeof(terms_AHV_SEARCH_CONSTRAINT) != "undefined" &&
|
terms_AHV_SEARCH_CONSTRAINT.length > 0 &&
|
document.location.href.indexOf(".adobe.com") > 0){
|
if ( typeof(terms_SEARCH_THIS_HELP_ONLY) != "undefined" && terms_SEARCH_THIS_HELP_ONLY == "ON" ) {
|
document.write('<div id="searchscope"> \
|
<input onchange="setAHSearchPref();" \
|
class="gsa" \
|
name="gsa" \
|
id="gsa" \
|
type="checkbox" \
|
checked="checked" \
|
value="1" ><\/input>');
|
|
// Leave the "Search this help system only" checkbox unckecked
|
}else{
|
document.write('<div id="searchscope"> \
|
<input onchange="setAHSearchPref();" \
|
class="gsa" \
|
name="gsa" \
|
id="gsa" \
|
type="checkbox" \
|
value="1" ><\/input>');
|
}
|
document.write('<span class="gsalabel">' + terms_AHV_SEARCH_CONSTRAINT + '<\/span><\/div>');
|
}
|
document.write('<input class="searchinput" \
|
name="q" \
|
id="q" \
|
type="text" \
|
maxlength="256" \
|
value="' + terms_AHV_SEARCH_BUTTON + '" \
|
onclick="clearSearch()"><\/input><input \
|
type="button" \
|
name="searchbutton" \
|
class="searchbutton" \
|
onclick="submit()"><\/input>');
|
}
|
|
/*
|
* Start Functions
|
*/
|
function clearSearch(){
|
if (document.search.q.value == terms_AHV_SEARCH_BUTTON){document.search.q.value = ""};
|
}
|
|
// set search preferences
|
function setAHSearchPref(){
|
if (document.search.gsa.checked == 1){
|
setAHSearchCookie( dirname );
|
}else{
|
setAHSearchCookie( "community" );
|
}
|
}
|
|
// Set search preferences cookie
|
function setAHSearchCookie( p ){
|
// set cookie ah_searchpref with a value of the document path
|
var expire=new Date();
|
expire.setDate(expire.getDate()+365); // Cookie expires after 1 year (365 days)
|
document.cookie="ah_searchpref=" +p+ "; expires=" +expire.toGMTString()+ ";";
|
}
|
|
// ]]-->
|
</script>
|
</form>
|
<!-- END SEARCH CONTENT -->
|
|
|
|
<!-- BEGIN PAGE CONTENT WRAPPER -->
|
<div id="page_content_wrapper">
|
<!-- BEGIN PAGE WRAPPER -->
|
<table id="page_content_table">
|
<tr>
|
<!--#include virtual="recommendations_topic.ssi" -->
|
<td id="col2">
|
<!-- BEGIN CONTENT WRAPPER -->
|
<!-- BEGIN BREADCRUMBS -->
|
|
|
<div id="breadcrumb">
|
|
<ul class="navigation"><li class="prev"><a accesskey="p" class="prev" href="WSc3ff6d0ea77859461172e0811cbf3638e6-7fce.html" title="Event Gateways section"><img src="images/blank.gif" alt="Previous" width="17" height="17" /></a></li><li class="next"><a accesskey="n" class="next" href="WSc3ff6d0ea77859461172e0811cbf3638e6-7fc5.html" title="Packaging and Deployment section"><img src="images/blank.gif" alt="Next" width="17" height="17" /></a></li></ul><div class="hierarchy" id="hierarchy"><a href="WSf01dbd23413dda0e51f089d212047ee7a02-8000.html"><b>Home</b></a> / <a href="WSf01dbd23413dda0e51f089d212047ee7a02-8000.html"><b>Configuring and Administering ColdFusion 10</b></a> / <a href="WSc3ff6d0ea77859461172e0811cbf364104-8000.html"><b>Using the ColdFusion Administrator</b></a>
|
</div>
|
|
</div>
|
<!-- END BREADCRUMBS -->
|
<div id="content_wrapper">
|
<!-- BEGIN PAGE TITLE -->
|
<h1>Security section</h1>
|
<!-- END PAGE TITLE -->
|
<!-- BEGIN IONCOMMENTCOUNT -->
|
<div id="ionCount">
|
</div>
|
<!-- END IONCOMMENTCOUNT -->
|
<table id="inner_content_table" width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td>
|
<div style="border-top:#ccc solid 1px;"><p> </p>
|
</div>
|
<!--#include virtual="contentheader.ssi" -->
|
|
<div id="minitoc"><div class="t"><div class="b"><div><ul id="minitoc-links"><li><p><a href="#WSc3ff6d0ea77859461172e0811cbf364104-7ff6"><span class="topictitle1">Administrator page</span>
|
</a></p><ul><li><p><a href="#WSe61e35da8d3185186e9280a5134cb5bc24a-8000"><span class="topictitle2">Configurable seed for password encryption</span>
|
</a></p></li></ul></li><li><p><a href="#WSc3ff6d0ea77859461172e0811cbf364104-7ff5"><span class="topictitle1">RDS page</span>
|
</a></p></li><li><p><a href="#WSc3ff6d0ea77859461172e0811cbf3638e6-7fc7"><span class="topictitle1">Sandbox security page</span>
|
</a></p></li><li><p><a href="#WSc3ff6d0ea77859461172e0811cbf3638e6-7fc6"><span class="topictitle1">User Manager page</span>
|
</a></p><ul><li><p><a href="#WSe61e35da8d3185184b889985134e677493b-8000"><span class="topictitle2">Add a user</span>
|
</a></p></li><li><p><a href="#WSe61e35da8d318518-55d94fbc134e6edc849-8000"><span class="topictitle2">Edit user configuration</span>
|
</a></p></li></ul></li><li><p><a href="#WS6FD0EA9F-C6C1-4bd9-B773-32DBE5A95287"><span class="topictitle1">Allowed IP Addresses</span>
|
</a></p></li></ul></div></div></div></div><div><p>The Security section
|
of the Administrator lets you configure the security frameworks
|
of ColdFusion.</p>
|
<p>For more information on security, see <a href="WSc3ff6d0ea77859461172e0811cbf364104-7ff2.html">Administering Security</a>.</p>
|
<ul class="navlinklist"></ul>
|
</div>
|
<div id="WSc3ff6d0ea77859461172e0811cbf364104-7ff6" class="nochunk"><a name="WSc3ff6d0ea77859461172e0811cbf364104-7ff6"><!-- --></a><h2 class="topictitle2">Administrator page</h2><div><p>Use the Administrator page of the
|
Administrator to enable and disable password-restricted access to
|
the Administrator, and to change the Administrator password. Restrict
|
ColdFusion Administrator access to trusted users. You can also configure
|
all users to use a single ColdFusion Administrator password or allow only
|
users defined in the User Manager and the root administrative user
|
to have access to the ColdFusion Administrator.</p>
|
</div><div id="WSe61e35da8d3185186e9280a5134cb5bc24a-8000" class="nochunk"><a name="WSe61e35da8d3185186e9280a5134cb5bc24a-8000"><!-- --></a><h3 class="topictitle3">Configurable seed for password encryption</h3><div><div class="para">The Administrator has option to specify a new seed value
|
to encrypt data source passwords. To modify the default seed value
|
assigned by ColdFusion or to change the value you specified,<ol><li><p>In the Password Seed section, specify the new seed value
|
between 8-500 characters.</p>
|
</li>
|
<li><p>Click Submit Changes.</p>
|
</li>
|
</ol>
|
<div class="note"><span class="notetitle">Note: </span>When you modify
|
the seed value, all data source connections are reset. Therefore,
|
Adobe recommends that you perform this task when the server is idle
|
or at the initial phase (after installation).</div>
|
</div>
|
</div></div></div>
|
<div id="WSc3ff6d0ea77859461172e0811cbf364104-7ff5" class="nochunk"><a name="WSc3ff6d0ea77859461172e0811cbf364104-7ff5"><!-- --></a><h2 class="topictitle2">RDS page</h2><div><p>Use the
|
RDS page to enable and disable password-restricted RDS access to
|
server resources from Adobe Macromedia Dreamweaver MX , Adobe Macromedia HomeSite+
|
, ColdFusion Extensions for Eclipse, or the ColdFusion Report Builder, and
|
to change the RDS password. </p>
|
<p>You can also configure all users to use a single RDS password,
|
or allow only users defined in the User Manager to have access through
|
RDS. The minimum character limit is 5 and the maximum character
|
limit is 50.</p>
|
</div></div>
|
<div id="WSc3ff6d0ea77859461172e0811cbf3638e6-7fc7" class="nochunk"><a name="WSc3ff6d0ea77859461172e0811cbf3638e6-7fc7"><!-- --></a><h2 class="topictitle2">Sandbox security page</h2><div><p>You use the Sandbox Security page
|
(called Resource Security in the Standard Edition) to specify security
|
permissions for data sources, tags, functions, files, directories,
|
IP addresses, ports, and runtime permissions.</p>
|
<p>Sandbox security uses the location of your ColdFusion pages to
|
determine functionality. A <i xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xs="http://www.w3.org/2001/XMLSchema">sandbox</i> is a designated area (CFM
|
files or directories that contain CFM files) of your site to which
|
you apply security restrictions. By default, a subdirectory (or <i xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xs="http://www.w3.org/2001/XMLSchema">child</i> directory)
|
inherits the sandbox settings of the directory one level above it
|
(the <i xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xs="http://www.w3.org/2001/XMLSchema">parent</i> directory). If you define sandbox settings for
|
a subdirectory, you override the sandbox settings inherited from
|
the parent directory.</p>
|
<p>Use sandbox security to control access to the following:</p>
|
<ul><li><p>Data sources</p>
|
</li>
|
<li><p>Tags</p>
|
</li>
|
<li><p>Functions</p>
|
</li>
|
<li><p>Files and directories</p>
|
</li>
|
<li><p>IP addresses and ports</p>
|
</li>
|
</ul>
|
<p>You can also edit runtime permissions for ColdFusion pages.</p>
|
<div class="note"><span class="notetitle">Note: </span>If you have enabled
|
sandbox security and want to use the Administrator API, enable access
|
to the CFIDE/adminapi directory.</div>
|
<p>For details, see <a href="WSc3ff6d0ea77859461172e0811cbf364104-7fc8.html">Using sandbox security</a>.</p>
|
</div></div>
|
<div id="WSc3ff6d0ea77859461172e0811cbf3638e6-7fc6" class="nochunk"><a name="WSc3ff6d0ea77859461172e0811cbf3638e6-7fc6"><!-- --></a><h2 class="topictitle2">User Manager page</h2><div><p>Use the User Manager page to specify the user name, password,
|
description, access rights, exposed services, sandboxes, and allowed
|
roles for individual users. This page is especially useful for web
|
hosting when multiple ColdFusion applications are on one server,
|
each maintained by a different user or organization.</p>
|
<p>You can grant access to the ColdFusion Administrator, which also
|
grants access to the Administrator API. </p>
|
<p>If the administrator revokes the role of a user while the user
|
is logged in, the revocation takes effect only when the user logs
|
in again.</p>
|
<p>The default user ID of an administrator is admin. To change the
|
administrator user ID, add the following in the neo-security.xml
|
file, replacing admin with the user ID to use:</p>
|
<pre><var name='admin.userid.root'>
|
<string>admin</string>
|
</var></pre>
|
</div><div id="WSe61e35da8d3185184b889985134e677493b-8000" class="nochunk"><a name="WSe61e35da8d3185184b889985134e677493b-8000"><!-- --></a><h3 class="topictitle3">Add a user</h3><div><p>The User Manager lets you create users that have individually
|
tailored access to portions of the ColdFusion Administrator, the
|
Administrator API, or RDS access.</p>
|
<div class="para"><div class="note"><span class="notetitle">Note: </span>To grant ColdFusion Administrator permissions to multiple
|
users, in addition to creating users on the User Manager page, you
|
must select the Separate Username And Password Authentication option
|
on the Security > Administrator page. Similarly, you must select
|
the Separate Username And Password Authentication option on the RDS
|
page to grant RDS access to multiple users.</div>
|
</div>
|
<div class="para"><ol><li><p>In Security > User Manager, click Add User.</p>
|
</li>
|
<li><p>Specify the username, password, and then confirm the password.</p>
|
</li>
|
<li><p>Optionally, enter a description.</p>
|
</li>
|
<li><p>Select the following options:</p>
|
<div class="para"><ul><li><p>Allow RDS
|
access</p>
|
</li>
|
<li><p>Allow Administrative access: Select one of the following:
|
Administrator Console & API Access and API Access Only.</p>
|
</li>
|
</ul>
|
</div>
|
</li>
|
<li><p>Select the ColdFusion Administrator pages that you want the
|
user to be able to access.</p>
|
</li>
|
<li><p>Select any sandboxes that you want the user to be able to
|
access.</p>
|
</li>
|
<li><p>Select the services that you want the user to be able to
|
access.</p>
|
</li>
|
<li><p>Click Add User.</p>
|
</li>
|
</ol>
|
</div>
|
<div class="para"><div class="note"><span class="notetitle">Note: </span>To select multiple contiguous sandboxes or roles, press
|
the Shift key while making selections. To select multiple noncontiguous
|
sandboxes or roles, press the Control key while making selections. </div>
|
After
|
you create a user, you must log into the ColdFusion Administrator
|
using both a username and password. The default username for the
|
root administrator is admin. To change it, you must edit the neo-security.xml
|
file by changing the string "admin" in admin.userid.root, as follows:<pre><var name="admin.userid.root">
|
<string>admin</string>
|
</var></pre>
|
When you grant access to specific Administrator
|
pages, the user sees only those pages after logging in to the Administrator.
|
When you grant Administrator API access and select roles, the user
|
can access the API only for the pages you specified. </div>
|
<p>For information editing existing user configuration, see Edit
|
User Configuration.</p>
|
<div class="section"><h4 class="sectiontitle">User Sandboxes</h4><p>If you change the pages
|
or sandboxes to which a user is allowed access while that user is
|
logged in to the Administrator, the changes take effect only after
|
the user logs out, and then logs in again. For details about creating
|
sandboxes, see Configure ColdFusion security.</p>
|
</div>
|
<div class="section"><h4 class="sectiontitle">Exposed Services</h4><p>ColdFusion exposes existing
|
enterprise services as web services. You can access these services
|
using SOAP and AMF/Flash remoting. You can select the services available
|
to a user from the Exposed Services section. By default, all the
|
services are listed in the Allowed Services list box. Press CTRL
|
and select the services that you do not want the user to avail and
|
click the >> button.</p>
|
<p>Now, click Edit User to implement
|
the changes to the user settings. The following are the exposed
|
services:</p>
|
<ul><li><p>Allowed services: Mail Service, Document
|
Service, PDF Service, Image Service, Chard Service, POP Service, </p>
|
</li>
|
<li><p>Prohibited services: Exchange Service</p>
|
</li>
|
</ul>
|
<p>You
|
can secure the exposed services to prevent access by unknown applications or
|
users. This can be done by configuring the client IP address range
|
to which services are accessible. Also, you can set up user access
|
control for the services.On the Security > User Manager page,
|
you can select the services available to a user from the Exposed
|
Services section. By default, all the services are listed in the Prohibited
|
Services list box.Press CTRL and select the services that you want
|
the user to avail and click the << button. Now, click Edit
|
User to implement the changes to the user settings.</p>
|
</div>
|
</div></div><div id="WSe61e35da8d318518-55d94fbc134e6edc849-8000" class="nochunk"><a name="WSe61e35da8d318518-55d94fbc134e6edc849-8000"><!-- --></a><h3 class="topictitle3">Edit user configuration</h3><div><p>In the User Manager page, click either the user name like
|
in the User column or the Edit icon in the Action column. The User
|
Manager page opens in Edit mode, where you can reconfigure the user
|
account settings such as password, RDS Administrator access, adding
|
sandboxes, and resetting the exposed services for the user.</p>
|
<div class="para"><div class="note"><span class="notetitle">Note: </span>You would not be able to reset the user authentication
|
type in the edit mode.</div>
|
</div>
|
</div></div></div>
|
<div id="WS6FD0EA9F-C6C1-4bd9-B773-32DBE5A95287" class="nochunk"><a name="WS6FD0EA9F-C6C1-4bd9-B773-32DBE5A95287"><!-- --></a><h2 class="topictitle2">Allowed IP Addresses</h2><div><p>Specify client IP addresses that have the permission to
|
access exposed services.</p>
|
</div></div>
|
|
|
<!-- BEGIN USER PREFERENCES -->
|
<div id="userprefs">
|
</div>
|
<!-- END USER PREFERENCES -->
|
|
<div id="related">
|
|
|
<div class="separator"><a href="#top"><img src="images/BTT.jpg" /></a> </div>
|
</div>
|
<div id="footer">
|
<!-- BEGIN IONCOMMENTS -->
|
<div id="ionComHere">
|
</div>
|
<!-- END IONCOMMENTS -->
|
<!--#include virtual="/ssi/ionComments.ssi" -->
|
<p id="creativecommons"><a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" id="creativecommons_text"><img id="creativecommons_img" src="images/CC.png" alt="This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License" /></a> Twitter™ and Facebook posts are not covered under the terms of Creative Commons.</p>
|
</div>
|
</td>
|
<td width="10px"></td>
|
<td id="inner_rightcolumn">
|
<!--#include virtual="rightcolumn.ssi" -->
|
</td></tr></table>
|
</div>
|
<!-- BEGIN BREADCRUMBS -->
|
<div id="breadcrumb">
|
|
<ul class="navigation"><li class="prev"><a accesskey="p" class="prev" href="WSc3ff6d0ea77859461172e0811cbf3638e6-7fce.html" title="Event Gateways section"><img src="images/blank.gif" alt="Previous" width="17" height="17" /></a></li><li class="next"><a accesskey="n" class="next" href="WSc3ff6d0ea77859461172e0811cbf3638e6-7fc5.html" title="Packaging and Deployment section"><img src="images/blank.gif" alt="Next" width="17" height="17" /></a></li></ul><div class="hierarchy" id="hierarchy"><a href="WSf01dbd23413dda0e51f089d212047ee7a02-8000.html"><b>Home</b></a> / <a href="WSf01dbd23413dda0e51f089d212047ee7a02-8000.html"><b>Configuring and Administering ColdFusion 10</b></a> / <a href="WSc3ff6d0ea77859461172e0811cbf364104-8000.html"><b>Using the ColdFusion Administrator</b></a>
|
</div>
|
|
</div>
|
<!-- END BREADCRUMBS -->
|
<!-- END CONTENT WRAPPER -->
|
<!--#include virtual="contentfooter.ssi" -->
|
</td>
|
<td id="col3">
|
<div>
|
<img src="images/adobe-lq.png" />
|
</div>
|
</td>
|
</tr>
|
</table>
|
</div>
|
<!-- END PAGE CONTENT WRAPPER -->
|
<script type="text/javascript">
|
<!--[CDATA[
|
scrollToNameAnchor();
|
// ]]-->
|
</script>
|
<!--#include virtual="/en_US/ssi/productmenu.ssi" -->
|
<style>
|
#legal-notices{
|
margin:10px 40px;
|
font-size:11px;
|
}
|
</style>
|
|
<p id="legal-notices">
|
<script language="javascript">
|
var pageLoc = "en_US";
|
var metaElements = document.all ?
|
document.all.tags('meta') :
|
document.getElementsByTagName ?
|
document.getElementsByTagName ('meta') : new Array();
|
for (var m = 0; m < metaElements.length; m++) {
|
if (metaElements[m].name == "lang") {
|
pageLoc = metaElements[m].content;
|
break;
|
}
|
}
|
var ptn = /(..)-(..)/;
|
if (ptn.test(pageLoc)) {
|
var languageCode = pageLoc.replace(ptn, "$1");
|
var countryCode = pageLoc.replace(ptn, "$2");
|
pageLoc = languageCode + "_" + countryCode.toUpperCase();
|
}
|
|
var legalLoc = "en_US";
|
var legalText = "Legal Notices";
|
var legalPath = legalLoc;
|
var legalArray=[
|
"ar_AE", "إشعارات قانونية",
|
"bg_BG", "Юридически бележки",
|
"cs_CZ", "Právní upozornění",
|
"da_DK", "Juridiske meddelelser",
|
"de_DE", "Rechtliche Hinweise",
|
"el_GR", "Σημειώσεις νομικού περιεχομένου",
|
"es_ES", "Avisos legales",
|
"et_EE", "Juriidilised teated",
|
"fi_FI", "Lakisääteiset ilmoitukset",
|
"fr_FR", "Mentions légales",
|
"he_IL", "הצהרות משפטיות",
|
"hr_HR", "Pravne napomene",
|
"hu_HU", "Jogi közlemények",
|
"it_IT", "Informazioni legali",
|
"ja_JP", "法律上の注意",
|
"ko_KR", "법적 고지 사항",
|
"lt_LT", "Teisinės pastabos",
|
"lv_LV", "Juridisks paziņojums",
|
"nb_NO", "Juridiske merknader",
|
"nl_NL", "Juridische kennisgevingen",
|
"pl_PL", "Informacje prawne",
|
"pt_BR", "Aspectos jurídicos",
|
"ro_RO", "Prevederi legale",
|
"ru_RU", "Юридическая информация",
|
"sk_SK", "Právne upozornenie",
|
"sl_SI", "Pravni pouk",
|
"sv_SE", "Upphovsrätt",
|
"tr_TR", "Yasal uyarılar",
|
"uk_UA", "Юридична інформація",
|
"zh_CN", "法律声明",
|
"zh_TW", "法律注意事項"
|
];
|
|
for (var i = 0; i < legalArray.length; i+=2) {
|
if (pageLoc == legalArray[i]) {
|
legalLoc = pageLoc;
|
legalText = legalArray[i+1];
|
legalPath = legalLoc;
|
break;
|
}
|
}
|
document.write('<a target="_blank" href="http://help.adobe.com/'+legalPath+'/legalnotices/index.html">'+legalText+'</a>');
|
</script>
|
</p>
|
|
<!--#include virtual="/en_US/ssi/localfooter.ssi" -->
|
<!--#include virtual="footer.ssi" -->
|
<!--#include virtual="/ubi/analytics/analytics_ssi.html" -->
|
</body>
|
</html>
|