It struck me that it should be possible to have ye olde websites on unSAFE internet, make use of SAFE for their files.
That websites bodies then become mostly stored on SAFE, need not be apparent to the end user, yet that use case is multiply useful for the host - cheaper; and more robust; and more expandable; etc etc.
I haven’t had time or cracked it yet but wonder that some simple apache+php server, necessarily could be the header for any site, that then has either exec or passthru executing the usual safe CLI.
but the context of what php in a website is allowed to execute, I haven’t looked into … expecting it needs to be within the /var/www/ context and unclear atm if CLI can handle being outside of a user’s /home/ directory.
Trivially I moved /home/$USER/bin/safe to /usr/bin and successfully started the authenticator, created a new account on the shared-section.
Next step is to build a small sample site in /var/www and try to PUT it to the shared section from there.
Unsure just what this is proving or disproving but might as well have a go.
Perhaps I should create a brand new user for this in case I am missing something and settings from /home/$USER/.safe are still being read.
Even more trivially, I was tempted to log a bug perhaps for future, to prompt an option that CLI gets installed with option for all users as
/usr/local/bin/
generic config to /etc/
user config to ~/.config/
Not an expert and might need checking but noting that /usr/bin is strictly for packages managed by the distribution package manager, which comes then with a fear of loss where that tidies up on occasion.