How we can secure http cookies against xss attacks?
Answer / Mithlesh Kumari
To secure HTTP cookies against XSS attacks in Node.js, you can use the 'express-rate-limit' package to prevent excessive cookie manipulation by clients or set the 'HttpOnly' flag for cookies to make them inaccessible to client-side scripts.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is repl terminal?
What do you understand by event-driven programming?
What are the important APIs in Timers module in Node.js?
What events are supported by writable streams in node.js?
How do you read a file using node.js?
How is node.js different from ajax?
What is a child_process module in node.js?
What is the purpose of node.js module.exports?
What is the difference between setimmediate and process nexttick?
How will you write a file using node?
What is repl in context of node?
Can a user access dom in a node.js?