Re:Open redirects – a vulnerability class no one but attacke...
by tikumo on Friday January 04, 2019 @05:32AM
(#18823034)
You could just add some kind of hash based on the redirect url and check that, to ensure that it can't be altered.
[ Parent
| on HN ]
Re:Open redirects – a vulnerability class no one but attacke...
by xxs on Friday January 04, 2019 @06:19AM
(#18823228)
For this you need some pepper (i.e. a secret) to prevent doctoring.
The better option is an encrypted blob containing all relevant data and a timing component. Of course those thing do require effort. It makes it opaque for everyone but the server handling the redirect.