python 2.7 - How do I add anti-clickjacking support to an app I'm building in webapp2 for google app engine? -
i know there's wsgi middleware django, can't find webapp2. django middleware work?
to same behavior django provides webapp2, need add following header response:
self.response.headers["x-frame-options"] = "sameorigin"
https://developer.mozilla.org/en-us/docs/http/x-frame-options
Comments
Post a Comment