About CSRF: Attacker designs a webpage that sends requests to a vulnerable website for action like change in password, etc. Now, if a user who is pre-logged-in to the vulnerable website, comes to
I focus on understanding the WHY of each requirement. Once this is clear, then HOW becomes easy. In my blogs too, I try to take the same approach.
Allowing the webpage to open in iframe exposes it to security attacks. In this blog, we will list out the vulnerabilities exposed and try to suggest solutions to mitigate them. Possible AttacksClickjackingIn this
The Referer HTTP request header contains the URL of the page from which the user followed the link and came to a web resource (web page, image, etc). This header can be used
apply, call and bind are methods that can be called on any JS function and are used to call that function in a specified scope. this inside the function will refer to the
We launched Slackmin on Product Hunt on July 27th, 2022. Here is the launch post and the product page on Product Hunt. We achieved the “#1 Product of the Day” badge. Thanks to
A Promise can either resolve into a result or reject into an error. In this blog we will see how we can wait for multiple promises, depending on our requirements and use cases.
Problem Statement: If you are developing your own package, you would need to test it before publishing it to npm. One way to achieve it would be to require index.js file of
Spawning child processes have multiple advantages. In this blog, we will first try to understand the WHY behind child processes and then dive into an example snippet. Why Child Processes?Let’s try
If the machine running the code has multiple cores, then multiprocessing (running code in multiple child processes) can help do tasks in parallel. Doing tasks in parallel helps in saving time on the