# Using the ALLOW-FROM value

How to use the ALLOW-FROM X-Frame-Option.

## Procedure

1. Stop your Talend Data Preparation instance and its corresponding services, as well as the Talend Identity and Access Management service.
2. Open the &lt;Data\_Preparation\_Path&gt;/config/application.properties file and set the X-Frame-Options parameter to http://&lt;hostname&gt;, with &lt;hostname&gt; corresponding to the server hostname from which you would want to allow access.
3. Open the &lt;IAM\_Path&gt;/tomcat/conf/web.xml file and set the antiClickJackingOption parameter to ALLOW-FROM http://&lt;hostname&gt;, with &lt;hostname&gt; corresponding to the server hostname from which you would want to allow access.

   The &lt;hostname&gt; value must be the same in both configuration files.
4. Restart your Talend Data Preparation instance and its corresponding services, as well as the Talend Identity and Access Management service.

## Results

You can now open the Talend Data Preparation application from the desired i-frame.