How to set security-related headers?

To make my bubble app more secure, I’d like to set the following security headers: X-Content-Type, X-Frame-Options and Content-Security-Policy. How can this be done? Thank you!

Hello!

Great question! For X-Content-Type, and Content-Security-Policy, we do not currently expose a setting that allows you to configure them. However, in order to set the X-Frame-Options header you can visit the Settings tab under General. See a screenshot below highlighting the setting your looking for:

Let us know if that helps or you have any more questions!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.