ubccr / mokey

FreeIPA self-service account management portal
BSD 3-Clause "New" or "Revised" License
194 stars 46 forks source link

Feature request: Add security-related headers/cookie attributes #55

Closed arcuses closed 3 years ago

arcuses commented 4 years ago

Thanks for the software. Hoping you can help with adding some security-related headers to the server responses.

The following headers in particular:

Regarding cookies, the httpOnly attribute could be added to the mokey-sessck cookie. This prevents JavaScript from reading the cookie.

aebruno commented 4 years ago

@arcuses Thanks for submitting this. Will take a look and get these added.

aebruno commented 4 years ago

@arcuses If you get a chance, please review #59