Closed YamiOdymel closed 3 years ago
@tobychui A CSRF token system could be implemented to solve this problem.
@tobychui A CSRF token system could be implemented to solve this problem.
Ok cool 👍🏻 I am thinking if there are any implementation that we can work on all the ArozOS endpoint at once without changing the whole infrastructure. Server side can be handled using the prouter module (Permission HTTP router). But I didn't have any idea regarding client side code implementation for the CSRF token system. Any clues?
CSRF Token generation and validation mechanism has been implemented in internal nightly version of ArozOS and scheduled to be release with the v1.114 release.
Describe the bug A button from the other website is able to redirects the user and deletes he's own file while he didn't notice.
To Reproduce
file_system/fileOpr
API to the ArozOS.my_very_important_file.txt
without any notice.Expected behavior ArozOS should've treated this as an illegal request with CORS or CSRF Token solution.
Screenshots
Host Information(please complete the following information):
Client Information(please complete the following information):