#2144 new enhancement

Tahoe-LAFS as website hosting storage backend — at Initial Version

Reported by: amontero Owned by:
Priority: normal Milestone: undecided
Component: contrib Version: 1.10.0
Keywords: website webdav twisted research Cc:
Launchpad Bug:

Description

While playing with Tahoe, I've done a bit of research out of curiosity about one possible usage scenario, that instead of keeping in my notes I think it is a UseCase? of interest.

I was thinking in a Tahoe-LAFS grid being the storage backend for a web app served by common httpd servers, such as nginx. Depending on your app requirements, you grid can range from a read-only cap webroot (that could be tamper-proof for free!) to more complex writtable grids, depending on your app. Your web server recieves a website GET and, instead of reading from a local filesystem directory, it reads from a dircap as the webroot. It could even execute scripts, creating a webroot not hackable if even the webserver is compromised. As far as the script cares, it's being run from a readonly filesystem.

Tahoe-LAFS would be the perfect match for distributedly hosting static sites inside anonymity networks, like Tor.

To accomplish this, I've done a bit of research and nginx looks like a good fit and well documented. The approaches I've found are:

Alongside: could not this help achieve WebDAV, just using nginx's out-of-the-box? #451

Now it's just an idea, maybe it's doable and just needs a howto. Since I haven't found none, at least linking this issue in the UseCases page could bring interested parties on the same page.

Change History (0)

Note: See TracTickets for help on using tickets.