Linux System Hardening Best Practices for a Secure Environment
Linux systems are widely used for their stability, flexibility, and security. However, no system is inherently secure without proper configurations and maintenance. Hardening a Linux system minimizes vulnerabilities and strengthens its security posture. This post outlines key steps to harden
Methods of Debugging – PHP
Methods of Debugging by dumping information These methods are used for debugging in PHP. We can see the variable values in human-readable form on the console and can find errors in case there are issues due to variables incorrect values.
Bootstrap Templates, Grid System and Media-queries
Bootstrap Templates, Grid System and Media-queries What is Bootstrap? Bootstrap is a powerful toolkit. It is a set of HTML, CSS, and JavaScript tools for making and building websites and internet applications. It is a free and open-source project, hosted
Collections in C#
Collections in C# Arrays Arrays are useful for creating and working with a fixed number of strongly typed objects. Problem with Arrays: 1. Fixed length 2. Insert similar data type elements Collections Collections are used to create and manage groups
Authorization Attribute Validation Issue
Authorization attribute validation Issue: 404 status code is returned instead of 401 status code In my application, I was using an API service to be used by external applications, where I needed to implement the authorization of valid requests by
Progress Bar Using AJAX/PHP
Progress Bar For Large Uploads Using AJAX/PHP Problem: When large files are being uploaded, a server at the back takes time to upload the same file. Users have to wait irrespective of knowing, whether the file is even being uploaded
Best Practices for Logging in Node js
Collecting Information or data from the system and storing it in a specific file is called logging. It may contain information or data for short or longer periods. Logs are the only way to troubleshoot an issue which the user
NodeJs Callback – Asynchronous Functions
NodeJs Callback NodeJs is an open-source server environment and it is free. It enables javascript to run on the server-side. It runs on various platforms(Windows, Linux, Mac, etc.). Callback is asynchronous equivalent code for a function. A callback function is
Auto-Renew “Let’s encrypt” SSL Certificate using certbot
Auto-Renew “Let’s encrypt” SSL Certificate using certbot Make sure Domain is pointed to the server and should only be using IPv4 version. IPv6 will not work and you must have pre-configured the domain in apache configuration and make sure your
Persist Data Using AsyncStorage in React Native
Persist Data Using AsyncStorage in React Native There are various ways to preserve the data in React Native but AsyncStorage is the most recommended way to persist data in your React Native applications as it is a built-in feature. AsyncStorage
