Chatta subito con l'assistenza
Chat con il supporto

Cloud Access Manager 8.1.2 - Security and Best Practice Guide

Root-to-root mapping

Root-to-root mappings associate a single dedicated public URL hostname with a corresponding private URL hostname, for example:

Table 3.  

https://erp.webapps.acme.com

https://erp.acme.prod.local

https://mail.webapps.acme.com

https://owa.acme.prod.local

https:// payroll.webapps.acme.com

https://payroll.acme.secure.net

Choosing the best mapping strategy

An advantage to using folder-to-root mappings is that the Secure Sockets Layer (SSL) certificate that authenticates the public server can cover all web applications with a single hostname. Using folder-to-root mappings is less expensive than root-to-root mappings, this is because an SSL certificate that authenticates a single hostname is generally cheaper than one which protects multiple hostnames.

However, use of folder-to-root mappings is not recommended for complex web sites, particularly those which rely heavily on client-side scripting to generate dynamic content. When using the folder-to-root approach, the proxy must rewrite relative URLs embedded in the content body, and if an embedded URL is built dynamically by the application, the proxy may need special rules (filters) to rewrite it correctly.

Rewriting relative URLs using folder-to-root

Table 4.  

/images/home.jp

/erp/images/home.jpg

../scripts/login.js

../erp/scripts/login.js

reports/salesfigures2014.pdf

erp/reports/salesfigures2014.pdf

this.href.location = '/register.aspx';

this.href.location = '/erp/register.aspx';

Relative URLs using root-to-root

Table 5.  

/images/home.jpg

Does not need rewriting.

../scripts/login.js

Does not need rewriting.

reports/salesfigures2014.pdf

Does not need rewriting.

this.href.location = '/register.aspx';

Does not need rewriting.

 

Related Documents

The document was helpful.

Seleziona valutazione

I easily found the information I needed.

Seleziona valutazione