18 guides

Security tutorials

Practical Security walkthroughs, troubleshooting notes, and best practices.

Topic archive

All Security guides

Browse every Knowledge Basement article filed under Security.

Linux

The first step in a malicious hacker attack is scanning. This means that an attacker will scan its target for open ports and vulnerabilities. So,…

2 min read 👁 Read guide →
Java

In Java, a resource leak occurs when a program fails to properly release system resources after they are no longer needed. This can lead to a range…

6 min read 👁 Read guide →
Java

Making methods final in Java can provide several benefits, including: Preventing method overriding: When a method is marked final , it cannot be…

4 min read 👁 Read guide →
Linux

Securing a Linux system can be a complex task, and there are many potential pitfalls and mistakes that can compromise the system's security. Here…

4 min read 👁 Read guide →
Linux

iptables and ipsets are both tools that are commonly used in Linux-based operating systems for managing network traffic. However, they serve…

3 min read 👁 Read guide →
Java

There are several good security practices to follow when developing Java applications. Here are some of the most important ones: Keep your Java…

2 min read 👁 Read guide →
Linux

Tengine seems to be a popular web server for Chinese websites. I've come upon it while browsing through Aliexpress and stumbling upon a 404 error:…

2 min read 👁 Read guide →
Linux

AppArmor is the default Mandatory Access Control module on Ubuntu, SuSE and other Linux distributions. Thanks to it, you can limit the filesystem…

4 min read 👁 Read guide →
Middleware

Notice: This article was written when SuPHP was the most popular choice for running multiple PHP sites on the same Apache server. Now, php-fpm with…

4 min read 👁 Read guide →