|
|
|
|
|
by dharmab
978 days ago
|
|
Envvars have much weaker access controls than files; basically anything in the same PID namespace can read your envvars. Poke around in /proc/*/environ to see for yourself. Files can use user permissions and MAC (AppArmor, SELinux, etc) to secure them against unauthorized processes. |
|
From a security perspective it is always more secure to have something only in memory of the running process than it is to have a file on disk regardless of file permissions