Welcome! Log In Create A New Profile

Advanced

Send nonce header

Posted by booboo 
Send nonce header
January 15, 2014 01:02AM
Is there a way to send a header with a random number in it, e.g. "add_header nonce $rand".

I'd also need to store the random number on disk and associate it with the connection serial number.

The nonce header would be used to create a unique server-side file directory for each connection. The unique directory would use used with CSP's (Content Security Policy) "script-src" directive.

I don't want to use cookies or other client-side methods.

Thanks
Re: Send nonce header
January 15, 2014 02:59AM
With the addon headers-more and Lua you can do this.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 234
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready