Name: Added security to prevent attacks.
About: I've added the code for preventing various types of attacks.
Github Issue Number: #149
Solution of problem
My code contains support to prevent various attacks.
First, to prevent CSRF attack, I've implemented csurf module.
Then, for the secure browsing, the cookies must be secured. In order to achieve this, I've implemented express-session module and made the httpOnly and secure flag to true.
To prevent HTTP Parameter Pollution (HPP) type of attack, I've implemented hpp module.
Finally, for setting some of the HTTP Header, I've implemented helmet module.
Type of Change
New Feature
Checklist
My code follows the same style as the codebase
I made PR against development branch
I have run the test cases locally and it's passing.
Name: Added security to prevent attacks. About: I've added the code for preventing various types of attacks.
Github Issue Number: #149
Solution of problem
My code contains support to prevent various attacks. First, to prevent CSRF attack, I've implemented csurf module. Then, for the secure browsing, the cookies must be secured. In order to achieve this, I've implemented express-session module and made the httpOnly and secure flag to true. To prevent HTTP Parameter Pollution (HPP) type of attack, I've implemented hpp module. Finally, for setting some of the HTTP Header, I've implemented helmet module.
Type of Change
Checklist