# 使用 DENY 或 SAMEORIGIN 值

如何使用 DENY 或 SAMEORIGIN X-Frame-Options。

## 步骤

1. 停止 Talend Data Preparation 实例机器对应的服务，以及 Talend Identity and Access Management 服务。
2. 打开 &lt;Data\_Preparation\_Path&gt;/config/application.properties 文件并为 X-Frame-Options 参数设置所需的值。
3. 重启 Talend Data Preparation 实例机器对应的服务，以及 Talend Identity and Access Management 服务。