<p class=”s90z9tc-10 fHRkcP”>I just realized that every program I use and run (without root privileges) can access my files in my home directory just because it is running in context of me.</p>
<p class=”s90z9tc-10 fHRkcP”>So my current concern is how can I be sure that non of that proprietary program I run (e.g. Dropbox, Slack) are not trying to access my .ssh/id_rsa file. It is readable by me and of course program ran by me can access that file too (it means standard linux file privileges are useless in this case, right?).</p>
<p class=”s90z9tc-10 fHRkcP”>Should I try to look into SELinux module? Will it help? I’m not sure if I want to use docker or similar jail-like stuff to isolate process I run. Maybe I should run such programs by another user and use something like xhost to allow that user to use my X server (in case we talk about GUI programs).</p>
<p class=”s90z9tc-10 fHRkcP”>What do you do to make sure your private files are not touched by other programs?</p>
<p class=”s90z9tc-10 fHRkcP”>Thanks!</p>