Community-Website icon indicating copy to clipboard operation
Community-Website copied to clipboard

[Backend] Adding various security features

Open udaymittal7 opened this issue 3 years ago β€’ 9 comments

Data sanitization against no SQL injection and XSS Rate limiter so the server won't get overload

If you find it relevant, please assign me. I am a participant of GSSOC'21 so please add the relevant GSSOC tags too.

udaymittal7 avatar Mar 13 '21 20:03 udaymittal7

Hello there!πŸ‘‹ Welcome to the project!πŸš€βš‘

Thank you and congratsπŸŽ‰ for opening your very first issue in this project. Community-website aims to build a resource sharing platform in order to reduce the knowledge gap. Please adhere to our Code of Conduct.πŸ™Œ If you have screenshots or a gif to share demonstrating the issue, that's really helpful!πŸ“Έ Please make sure not to start working on the issue, unless you get assigned to it.πŸ˜„

Feel free to join our Slack Community.πŸ’– We have different channels for active discussions.✨ Hope you have a great time there!πŸ˜„

welcome[bot] avatar Mar 13 '21 20:03 welcome[bot]

Can you please elaborate on it a bit? I don't feel the need for a rate limiter for the project.

jackfrost13 avatar Mar 14 '21 16:03 jackfrost13

XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end user. To protect against this, I will be using xss-clean package.

NoSQL injection vulnerabilities allow attackers to inject code into commands for databases that don’t use SQL queries, such as MongoDB. I will be using express-mongo-sanitize to protect against this.

Multiple requests from the same IP may crash the server. You should have it implemented just in case.

udaymittal7 avatar Mar 15 '21 09:03 udaymittal7

okay, you can take this is just as an additional check but we don't feel the need for these explicitly at the moment but yeah these are somewhat good to have

jackfrost13 avatar Mar 15 '21 12:03 jackfrost13

@udaymittal7 Please update progess on this

jackfrost13 avatar Mar 19 '21 13:03 jackfrost13

Hi, I am a GSSoC'21 Participant. I would like to work on this issue, please assign it to me.

Kriti-bit avatar Mar 27 '21 10:03 Kriti-bit

I am interested to work upon this.

himanshusanecha avatar Mar 04 '22 09:03 himanshusanecha

@himanshusanecha Go ahead with this and kindly update here after updating.

AyushSingh22 avatar Mar 14 '22 16:03 AyushSingh22

yes sure, I am starting to work on this issue. Sorry for the delay due to exams @AyushSingh22

himanshusanecha avatar Mar 19 '22 07:03 himanshusanecha