News for hackers. Stuff that matters.
Re:Messages via JSON by kam on Wednesday October 23, 2019 @03:09PM (#21337795)
Also the example PHP code doesn't validate the age of the passed timestamp so you could just replay a "signature" indefinitely...

Given that, you might as well just use an unchanging token or Basic Auth. Assuming https, that wouldn't be terrible for this kind of use case. But put it in an Authorization header, not in a query parameter, so it doesn't end up in logs.

Re:Messages via JSON by grenoire on Wednesday October 23, 2019 @03:35PM (#21338041)
Well, the app has to support it, so you're down to the will of the developer.

Sounds like a cool little thing, but wouldn't mind a standard to use on non-mobile platforms.

Re:Messages via JSON by re_dmitriy on Thursday October 24, 2019 @04:52AM (#21342749)
The documentation says it's a test of your choice.