2022-11-24 09:35 AM
I want to implement authorization on STM32 and LWIP.
I took this example
https://github.com/particle-iot/lwip-contrib/blob/master/examples/httpd/post_example/post_example.c
but it doesn't work.
Session.html is available without authorization
What could be the problem?
Or maybe somewhere exist a working example of authorization on the site?
2022-11-26 03:34 PM
Doing a proper authorization is not a trivial task:
https://stackoverflow.com/questions/17769011/how-does-cookie-based-authentication-work
By the way, use the official repository or it's GitHub mirror:
https://github.com/lwip-tcpip/lwip/blob/master/contrib/examples/httpd/post_example/post_example.c
2022-11-27 07:11 AM
Thanks for the answer!
An example of the second link is not a working properly!
Session page "session.html" is available without authorization!