We have created a REST route in NodeJs (with Hapi) to log errors and instrumentation for front end website. We should be able to access this through AngularJs and we send all our instrumentation and exceptions to backend via this POST route.
This route (ex: mysite.com/log/error) does not require any authorization. We should be able to call this from any page when there is any exception happens.
Since this is open for anyone, there could be some scripting attacks easily. I want to prevent DDoS attacks for this route. What are the recommended methods to do this?
via Nuwan.Niroshana
No comments:
Post a Comment