X-Frame-Options for Outlook Web Add-Ins

后端 未结 1 1865
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-05 11:12

I\'m working on an Outlook Web Add-In and I\'m struggling with knowing what value to set for the X-Frame-Options: ALLOW-FROM header. As far as I know, users ma

1条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-05 11:53

    The add-in needs to be able to run in an iFrame in order to work in Outlook Web, thus X-Frame-Options header should not be included at all. ALLOW-FROM can't really be used because the number of domains to list is way more than 3 mentioned, and that list is growing – there are many cases where various users access Office365 and outlook.com using custom domains.

    0 讨论(0)
提交回复
热议问题