DEV Community

Cover image for Linux security
codesharedot
codesharedot

Posted on

10 4

Linux security

There are many softwares to secure your Linux box. You may think you are immune from bad malware, virus, actors. Well, nothing coul be further from the truth. So what can you do? Use some softwares to secure your box:

AppArmor / SELinux

AppArmor / SeLinux tools let you harden your system to the file system level (And beyond). Which apps can access what directories, which app can access the internet and so on.

apparmor

ClamAV

ClamAV AntiVirus is a free, cross-platform and open-source antivirus software toolkit able to detect many types of malicious software, including viruses.

Firejail

A tool to sandbox your apps. This is more "lightweight" than AppArmor. By runnning in a sandbox, the app can't do bad things outside of what it's supposed to do. Especially useful for web browsers.

Firewalls

UFW

The UFW firewall can block access based on port. If you want to block certain ports (like SSH), you can with UFW. It doesn't allow per-application blocking, only port based blocking.

OpenSnitch

Just an application firewall. If an app tries to access the internet, you'll get a popup asking if it's ok to access the internet

So what do you use? :)

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more