So that I could continue developing the ‘Trading Account Management’ system while on the road, the installation of lighttpd/database had to be secured. In particular, sqlite had to be used rather than mysql, since the data in the database itself was critical to the business (and there was no time to conjure up ‘fake data’).
Using encfs to secure the ~/Fieldstone directory (as in the last post), I just want to point out how to make the Fieldstone directory accessible by the lighttpd server (without changing the user running lighttpd).
Into /etc/fuse.conf put the following :
Then, start the encfs as follows :
(this is the same code as in the previous post).
Importantly, above, is the line ‘-o allow_other’.
Then, finally, make sure the lighttpd user is a member of the user that mount the encfs directory (my user in ‘eeedora’) :
And make sure that the full path to the required files/directories is accessible to the ‘eeedora’ group (and hence the lighttpd user).