Month: May 2022

How to create a video streaming server in Node.js?

Introduction: A video streaming server is a specialized server that delivers video content over the internet to viewers in real-time. It is responsible for handling the storage, encoding, and distribution of video files to multiple clients simultaneously. When a user requests to watch a video, the video streaming server retrieves the video file from its

Read more

Brief on HTTP Status codes

Introduction HTTP (Hypertext Transfer Protocol) response codes are three-digit numbers that are returned by a server to indicate the status of a client’s request. Each response code provides information about the outcome of the request. Here’s an overview of some commonly encountered HTTP response codes: 1xx Informational 2xx Success 3xx Redirection 4xx Client Errors 5xx

Read more

How to prevent SQL Injection attacks?

Introduction SQL injection attacks are a type of security vulnerability where an attacker injects malicious SQL code into an application’s input fields, which can then be executed by the application’s database. Detecting SQL injection attacks can be difficult, but there are some common techniques that can be used to detect them. Here is an algorithm

Read more

Download a file from Node.js Server using Express

Introduction: In this tutorial, we are create Node.js Express example that provides Rest API to download file to Client. The res.download() function transfers the file at path as an ‘attachment’. Typically, browsers will prompt the user to download. Syntax: When an error occurs or transfer is complete, the method calls the optional callback function fn. This method

Read more

SQL Injection Attack

Introduction: An SQL injection attack is a type of code injection attack wherein attackers can execute malicious SQL code to manipulate databases or disclose sensitive information. SQL injection attacks can be used to steal data, modify data, or even delete data. SQL Injection Attack: To demonstrate an example of a SQL injection attack, consider the

Read more

Please disable your adblocker or whitelist this site!

How to whitelist website on AdBlocker?

How to whitelist website on AdBlocker?

  1. 1 Click on the AdBlock Plus icon on the top right corner of your browser
  2. 2 Click on "Enabled on this site" from the AdBlock Plus option
  3. 3 Refresh the page and start browsing the site