This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
文件上载保护
许多攻击者尝试在多表单提交期间将恶意代码、病毒或恶意软件作为文件附件上载。重要的是要保护我们的网络,克服这些威胁。为了防止此类恶意文件上载,Citrix ADC 管理员现在可以在 WAF 配置文件中配置一组允许的文件上载格式。通过这样做,您可以将文件上载限制为特定格式,并保护设备免受恶意文件上载的影响。但是,只有当您禁用 WAF 配置文件中的 ExcludeFileUploadFormChecks 选项时,保护才起作用。
文件上载的工作原理
配置允许的文件上载格式时,组件交互如下所示:
- 客户端请求具有文件上传类型的表单提交,例如 PDF。
- 作为安全检查的一部分,WAF 检查请求负载并验证文件类型(基于魔幻签名号)。
- 如果文件类型是允许的文件格式,则应用基于文件类型绑定的相应操作。
- 要验证文件类型,设备会检查有效负载并检查已知偏移量处的已知幻数。每种文件类型都有一系列用于验证文件类型的幻数字。
- 仅当验证通过时,WAF 将文件识别为允许的格式,并应用关联的操作。
使用 Citrix ADC CLI 配置文件类型上载
要配置允许的文件格式,设备使用绑定到文件上载参数的 WAF 配置文件。
- 配置 Web App Firewall 配置文件
要配置 Web App Firewall 配置文件,请键入以下内容:
set appfw profile <profile_name> [-fileUploadTypesAction <fileUploadTypesAction>]<fileUploadTypesAction> = ( none | block | log | stats )
示例
set appfw profile profile1 –fileUploadTypesAction block
- 使用文件上载参数绑定 Web App Firewall 配置文件。
要使用文件上载参数绑定配置文件,请键入以下内容:
bind appfw profile <profile_name> - fileUploadType <form_field > <form_action_url> -fileType <fileType> ( pdf | msdoc | text | image | any)
示例
bind appfw profile profile1 -fileuploadType image action_url -fileType image
使用 Citrix ADC GUI 配置文件上传安全保护
按照以下步骤设置文件上载设置。
- 在导航窗格中,导航到“安全”>“配置文件”。
- 在配置文件页面中,单击 添加。
- 在 Citrix Web App Firewall 配置文件 页面中,单击 高级设置 下的 安全检查。
-
在“安全检查”部分,转到“文件上载类型”设置。
- 选中该复选框并单击 操作设置。
- 在“文 件上载类型设置”页面中,设置文件上载操作。
- 单击 OK(确定)。
-
在 Citrix Web App Firewall 配置文件 页面中,单 击确定 并 完成 。
使用 Citrix ADC GUI 配置文件上传放松规则
您可以放松文件上传安全保护以避免误报。例如,设备可能会阻止文件上传,但您可以添加放松规则以允许从特定网站上传文件。通过执行此操作,设备将绕过指定表单域的安全检查,并允许用户从操作 URL 中提到的网站上传文件。
按照以下步骤创建放松规则。
- 在导航窗格中,导航到“安全”>“Citrix Web App Firewall < 配置文件”。
- 在配置文件页面中,单击 添加。
- 在 Citrix Web App Firewall 配置文件 页面中,单击“高级设置”下的“放宽规则”。
-
在“放松规则”部分,选择“文件上传类型”,然后单击“编辑”。
- 在“文 件上载类型重新规则”页中,单击“添加”。
-
在“文 件上载类型放松规则”页中,设置以下参数:
- 已启用。选中此复选框可启用放松规则。
- 表单域名称。输入不需要安全检查的字段名称。
- 操作 URL。必须免除安全检查的表单提交 URL。
- 文件类型。必须允许用户上传的文件类型。
- 评论。有关文件上传的简要说明。
-
单击创建。
-
在 Citrix Web App Firewall 配置文件 页面中,单 击确定 并 完成 。
共享
共享
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select Do Not Agree to exit.