Is there a way to add HTTP response headers to a WorkDocs endpoint

1

Hi,

Is there a way to add the following HTTP response headers to a WorkDocs endpoint?

Strict-Transport-Security (Missing header). Content-Security-Policy (Missing header). X-Frame-Options (Missing header). X-Content-Type-Options (Missing header). X-XSS-Protection (Missing header).

已提問 10 個月前檢視次數 241 次
2 個答案
1

Thanks. What about putting CloudFront in front of Workdocs endpoints? CloudFront has the ability to add response headers.

已回答 10 個月前
1

Hi,

AWS WorkDocs is a managed service, meaning that AWS manages the underlying infrastructure for you. As of today, you cannot change the behaviour of the endpoint of your WorkDocs site. If you need to add custom heards, one possible workaround would be to create a simple web application that serves as a proxy and uses the WorkDocs API to interact with WorkDocs. However, this would require developing and maintaining an additional web application, and there would likely be additional costs associated with hosting and operating the web application.

profile pictureAWS
專家
已回答 10 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南