Ayush-projects / chords

This repository contains all the necessary files for the development and deployment of the browser extension "Chords" which streams music according to the mood of the user.
MIT License
14 stars 38 forks source link

Securing of website[ #52 Fixed ] #64

Closed krishna-y2000 closed 3 years ago

krishna-y2000 commented 3 years ago

Hii @Ayush-projects Here is what i have done : 1) Set the helmet code so there no is malicious attack on site. 2) Applied the rate-limiter to 100 request in 1 hour in home page of application .This will not overload your site. Now , you need just add the middleware of rateLimiter.js file if you wish to add in any other page. 3) Applied express session for httpOnly and secure to true . Secure will sent to the server only with an encrypted request over the HTTPS protocol.So, the data will remain safe.

Please merge my request .