[ Thanks to Falko
Timme for this link. ]
“This HowTo is about creating a user-session-safe directory
which offers security on- and offline. This is done with PAM, a
module named pam_script and Encfs (‘Encrypted Filesystem’). This
safe directory is used to store credentials and other sensitive
information during a session. When a usersession is ended, in the
worst case an encrypted directory remains on the harddrive. In the
best case everything is removed. This construction is only meant to
store information during a session, not for documents or any other
valid information…”