Closed dephiloper closed 4 years ago
Even though it seems that gorm had some problems w/ SQL injections they are now fixed. But still, there are some other concerning issues: r/golang but these should not have an effect on our API
I added injection tests to both parameterized endpoints.
Modified cors settings to only allow http://localhost:8081 and https://visense.f4.htw-berlin.de
Implemented rate limit middleware using https://github.com/s12i/gin-throttle
https://nordicapis.com/5-common-api-vulnerabilities-and-how-to-fix-them/