martenframework / marten

The pragmatic web framework.
https://martenframework.com
MIT License
424 stars 24 forks source link

Add support for clickjacking protection #29

Closed ellmetha closed 2 years ago

ellmetha commented 2 years ago

Description

Marten should provide a way to automatically set the X-Frame-Options header through the use of a dedicated middleware. It should also be possible to explicitly disable this protection on a per-view basis.

To do