본문 바로가기
Exchange & Outlook/Trouble Shooting

Exchange의 Safe HTML

by 강철 벼룩 2011. 2. 22.

▩ 현상

OWA에서는 html 첨부 일부 태그와 스크립트가 제거됨. 예를 들면 금융기관에서 보내는 보안 명세서 등의 첨부를 열지 못하거나, 본문 이미지에 링크를 삽입해 보내는 경우 링크가 동작하지 않는다.

▣ 원인

 Exchange Safe HTML 기능으로 인해 위험성이 있는 태그와 스크립트가 제거됨.

▒ 해결 방법

 Exchange 2010 SP1에서 Safe HTML Filtering은 아래와 같이 파워셸에서 제어가 가능하도록 변경된다.
 

Safe HTML Filtering

Safe HTML filtering feature in previous Exchange versions can strip off certain email attachments upon download in OWA. We can avoid this by editing the web.config to include BypassOwaHTMLAttachmentFiltering and BypassOwaXmlAttachmentFiltering. Service Pack 1 has moved the settings to the OWA virtual directory, as well as OWA Mailbox Policy. The default value is False. As long as the attachment type is in the Force Save list, there will be no Safe HTML filtering applied on download.

[PS] C:\>Get-OwaVirtualDirectory | fl ForceSaveAttachmentFilteringEnabled

ForceSaveAttachmentFilteringEnabled: False

 

[PS] C:\>Get-OwaMailboxPolicy | fl ForceSaveAttachmentFilteringEnabled

ForceSaveAttachmentFilteringEnabled: False