Haleeth Umar

Connect with me

Understanding Unsafe Ports in Chrome: Why Certain Ports Are Blocked?

Posted on February 7, 2025 by haleeth

Introduction Google Chrome, like other modern web browsers, prioritizes user security by restricting access to certain network ports. These “unsafe ports” are blocked to prevent malicious activities, such as cross-protocol attacks or unauthorized access to sensitive services. In this article, we’ll explore: What unsafe ports are Why Chrome blocks certain ports The list of restricted

Install Docker Engine on Ubuntu

Posted on January 26, 2025 by haleeth

Prerequisites OS Requirments To install Docker Engine, you need the 64-bit version of one of these Ubuntu versions: Ubuntu Lunar 23.04 Ubuntu Kinetic 22.10 Ubuntu Jammy 22.04 (LTS) Ubuntu Focal 20.04 (LTS) Docker Engine for Ubuntu is compatible with x86_64 (or amd64), armhf, arm64, s390x, and ppc64le (ppc64el) architectures. Uninstall old versions Before you can

Enable SSH Password Authentication

Posted on by haleeth

Some server providers, such as Amazon EC2 and OCI, disable SSH password authentication by default. That is, you can only log in over SSH using public key authentication. SFTP is a protocol that runs over SSH, so this means SFTP using passwords will not work by default when SSH password authentication is disabled. To enable

Install Squid proxy on Ubuntu

Posted on by haleeth

Squid is a famous solution for content delivery. There are many purposes for using it could be. Popular aims are improving privacy and making connections more secure or faster. Proxy could be useful to avoid geographical restrictions or research “target” host behavior depending on client location. Preparing Before starting the process you should ensure you

Add Swap Space on Ubuntu

Posted on by haleeth

One way to guard against out-of-memory errors in applications is to add some swap space to your server. In this guide, we will cover how to add a swap file to an Ubuntu 20.04 server. What is Swap? Swap is a portion of hard drive storage that has been set aside for the operating system

Set DNS Nameserver on Ubuntu

Posted on by haleeth

The Domain Name System (DNS) translates text-based domain names to numeric IP addresses. By default, most networks are configured to work with DNS servers supplied by the internet service provider. However, users are free to change the DNS nameservers. This tutorial will show you how to change DNS nameservers on your Ubuntu machine using the

Create a New Sudo User on Ubuntu

Posted on by haleeth

By default, each file in Linux has its permissions and directories. These permissions determine access rights or privileges that users have on the file. If you own a file or a directory, you can pretty much do anything you want with it – you can access it, edit it, rename it, and even delete it.

Configure firewalld on Ubuntu

Posted on January 21, 2025 by haleeth

What is firewalld? A firewall is a way to protect machines from any unwanted traffic from outside. It enables users to control incoming network traffic on host machines by defining a set of firewall rules. These rules are used to sort the incoming traffic and either block it or allow it through. firewalld is a

PHP MySQLi Prepared Statements

Posted on by haleeth

Prepared statements may seem intimidating at first, but once you get the hang of it, it’ll seem like second nature to you. The goal of this tutorial is to transform someone with little to no knowledge of prepared statements into an expert. How SQL Injection Works Now that we’re done with the theory, let’s get

Changing the browser URL without refreshing the page

Posted on by haleeth

This new feature offers you a way to change the URL displayed in the browser through JavaScript without reloading the page. It will also create a back-button event and you even have a state object you can interact with. This means you won’t have to use the hash hack anymore if you want to add