System security/encryption

Hi, i have running system with attached external USB serving Samba share for local network.
My quesion is if there is anyway to proctect the dietpi system, implement encryption or any other method. Also i would like to know how to protect/encrypt the external USB. I do understand the different steps for user setup in the samba system. However i wonder how to protect the external drive in case “someone” would take it. Thank you

See:
https://dietpi.com/forum/t/how-can-i-encrypt-the-full-system-storage/4200

1 Like

I wrote together some general security aspects here: Security recommendation · MichaIng/DietPi Wiki · GitHub

External drives can be encrypted with various methods, e.g. via dm-crypt + LUKS: dm-crypt/Encrypting an entire system - ArchWiki
EDIT: Ah, covered by Jappe’s link as well. Encrypting an external drive of course is much simpler than encrypting the system drive, which was the aim in many other topics here.

Just found this…a fork of truecrypt
VeraCrypt - Free Open source disk encryption with strong security for the Paranoid

2 Likes

Thank you so much. I will give all recommendation a try.