JoonasHalapuu closed issue #6: Securely writing tasks that are done to a file at JoonasHalapuu / UbuntuTerminal_WebPage

JoonasHalapuu
2023-01-24T11:17:51Z

If a task is done, a http request is sent to back-end for it to write the ID, timestamp and task that had been completed to a file. This is not a good practice because anyone can send almost anything to that file via the http request. Instead when a task is done, Websocket should be used to say to back-end that the current user has finished task x. Then only the task number needs to be given out and only via Websocket. Thus random http requests wont work.