2013-11-08 20:31:08 +00:00
|
|
|
.. -*- coding: utf-8-with-signature -*-
|
2012-01-22 21:14:27 +00:00
|
|
|
|
2012-01-22 18:21:27 +00:00
|
|
|
Welcome to Tahoe-LAFS!
|
2011-05-10 19:16:50 +00:00
|
|
|
======================
|
|
|
|
|
2011-12-06 17:19:08 +00:00
|
|
|
Welcome to Tahoe-LAFS_, the first decentralized storage system with
|
|
|
|
*provider-independent security*.
|
|
|
|
|
|
|
|
.. _Tahoe-LAFS: https://tahoe-lafs.org
|
2011-05-10 19:16:50 +00:00
|
|
|
|
|
|
|
What is "provider-independent security"?
|
|
|
|
========================================
|
|
|
|
|
2011-08-19 06:01:10 +00:00
|
|
|
Every seller of cloud storage services will tell you that their service is
|
|
|
|
"secure". But what they mean by that is something fundamentally different
|
|
|
|
from what we mean. What they mean by "secure" is that after you've given
|
|
|
|
them the power to read and modify your data, they try really hard not to let
|
|
|
|
this power be abused. This turns out to be difficult! Bugs,
|
|
|
|
misconfigurations, or operator error can accidentally expose your data to
|
|
|
|
another customer or to the public, or can corrupt your data. Criminals
|
|
|
|
routinely gain illicit access to corporate servers. Even more insidious is
|
|
|
|
the fact that the employees themselves sometimes violate customer privacy out
|
2013-10-22 01:31:52 +00:00
|
|
|
of carelessness, avarice, or mere curiosity. The most conscientious of
|
2011-08-19 06:01:10 +00:00
|
|
|
these service providers spend considerable effort and expense trying to
|
|
|
|
mitigate these risks.
|
|
|
|
|
|
|
|
What we mean by "security" is something different. *The service provider
|
2013-04-09 19:19:58 +00:00
|
|
|
never has the ability to read or modify your data in the first place: never.*
|
2011-12-06 17:19:08 +00:00
|
|
|
If you use Tahoe-LAFS, then all of the threats described above are non-issues
|
|
|
|
to you. Not only is it easy and inexpensive for the service provider to
|
|
|
|
maintain the security of your data, but in fact they couldn't violate its
|
|
|
|
security if they tried. This is what we call *provider-independent
|
|
|
|
security*.
|
2011-08-19 06:01:10 +00:00
|
|
|
|
|
|
|
This guarantee is integrated naturally into the Tahoe-LAFS storage system and
|
|
|
|
doesn't require you to perform a manual pre-encryption step or cumbersome key
|
|
|
|
management. (After all, having to do cumbersome manual operations when
|
|
|
|
storing or accessing your data would nullify one of the primary benefits of
|
2013-04-09 19:19:58 +00:00
|
|
|
using cloud storage in the first place: convenience.)
|
2011-05-10 19:16:50 +00:00
|
|
|
|
|
|
|
Here's how it works:
|
|
|
|
|
2012-11-01 23:09:07 +00:00
|
|
|
.. image:: network-and-reliance-topology.svg
|
2011-05-10 19:16:50 +00:00
|
|
|
|
2011-08-19 06:01:10 +00:00
|
|
|
A "storage grid" is made up of a number of storage servers. A storage server
|
|
|
|
has direct attached storage (typically one or more hard disks). A "gateway"
|
2013-12-04 01:23:11 +00:00
|
|
|
communicates with storage nodes, and uses them to provide access to the
|
|
|
|
filesystem over protocols such as HTTP(S), SFTP or FTP.
|
|
|
|
|
|
|
|
Note that you can find "client" used to refer to gateway nodes (which act as
|
|
|
|
a client to storage servers), and also to processes or programs connecting to
|
|
|
|
a gateway node and performing operations on the grid -- for example, a CLI
|
|
|
|
command, Web browser, SFTP client, or FTP client.
|
2011-05-10 19:16:50 +00:00
|
|
|
|
2011-08-19 06:00:41 +00:00
|
|
|
Users do not rely on storage servers to provide *confidentiality* nor
|
|
|
|
*integrity* for their data -- instead all of the data is encrypted and
|
2011-08-19 06:01:10 +00:00
|
|
|
integrity-checked by the gateway, so that the servers can neither read nor
|
|
|
|
modify the contents of the files.
|
2011-05-10 19:16:50 +00:00
|
|
|
|
2011-08-19 06:00:41 +00:00
|
|
|
Users do rely on storage servers for *availability*. The ciphertext is
|
2011-10-25 13:25:50 +00:00
|
|
|
erasure-coded into ``N`` shares distributed across at least ``H`` distinct
|
|
|
|
storage servers (the default value for ``N`` is 10 and for ``H`` is 7) so
|
|
|
|
that it can be recovered from any ``K`` of these servers (the default
|
|
|
|
value of ``K`` is 3). Therefore only the failure of ``H-K+1`` (with the
|
|
|
|
defaults, 5) servers can make the data unavailable.
|
2011-08-19 06:01:10 +00:00
|
|
|
|
|
|
|
In the typical deployment mode each user runs her own gateway on her own
|
|
|
|
machine. This way she relies on her own machine for the confidentiality and
|
|
|
|
integrity of the data.
|
|
|
|
|
|
|
|
An alternate deployment mode is that the gateway runs on a remote machine and
|
|
|
|
the user connects to it over HTTPS or SFTP. This means that the operator of
|
|
|
|
the gateway can view and modify the user's data (the user *relies on* the
|
|
|
|
gateway for confidentiality and integrity), but the advantage is that the
|
|
|
|
user can access the filesystem with a client that doesn't have the gateway
|
|
|
|
software installed, such as an Internet kiosk or cell phone.
|
2011-05-10 19:16:50 +00:00
|
|
|
|
|
|
|
Access Control
|
|
|
|
==============
|
|
|
|
|
2011-12-06 17:19:08 +00:00
|
|
|
There are two kinds of files: immutable and mutable. When you upload a file
|
|
|
|
to the storage grid you can choose which kind of file it will be in the
|
|
|
|
grid. Immutable files can't be modified once they have been uploaded. A
|
|
|
|
mutable file can be modified by someone with read-write access to it. A user
|
|
|
|
can have read-write access to a mutable file or read-only access to it, or no
|
|
|
|
access to it at all.
|
2011-05-10 19:16:50 +00:00
|
|
|
|
2011-08-19 06:01:10 +00:00
|
|
|
A user who has read-write access to a mutable file or directory can give
|
|
|
|
another user read-write access to that file or directory, or they can give
|
|
|
|
read-only access to that file or directory. A user who has read-only access
|
|
|
|
to a file or directory can give another user read-only access to it.
|
2011-05-10 19:16:50 +00:00
|
|
|
|
2011-08-19 06:00:41 +00:00
|
|
|
When linking a file or directory into a parent directory, you can use a
|
2011-08-19 06:01:10 +00:00
|
|
|
read-write link or a read-only link. If you use a read-write link, then
|
|
|
|
anyone who has read-write access to the parent directory can gain read-write
|
|
|
|
access to the child, and anyone who has read-only access to the parent
|
|
|
|
directory can gain read-only access to the child. If you use a read-only
|
|
|
|
link, then anyone who has either read-write or read-only access to the parent
|
|
|
|
directory can gain read-only access to the child.
|
2011-05-10 19:16:50 +00:00
|
|
|
|
2011-12-06 17:19:08 +00:00
|
|
|
For more technical detail, please see the `the doc page`_ on the Wiki.
|
|
|
|
|
|
|
|
.. _the doc page: https://tahoe-lafs.org/trac/tahoe-lafs/wiki/Doc
|
2011-05-10 19:16:50 +00:00
|
|
|
|
|
|
|
Get Started
|
|
|
|
===========
|
|
|
|
|
2011-12-06 17:19:08 +00:00
|
|
|
To use Tahoe-LAFS, please see quickstart.rst_.
|
|
|
|
|
|
|
|
.. _quickstart.rst: quickstart.rst
|
2011-05-10 19:16:50 +00:00
|
|
|
|
|
|
|
License
|
|
|
|
=======
|
|
|
|
|
2014-09-09 17:51:44 +00:00
|
|
|
Tahoe-LAFS is an open-source project; please see README.rst_ for details.
|
2012-03-13 20:50:57 +00:00
|
|
|
|
2014-09-09 17:51:44 +00:00
|
|
|
.. _README.rst: ../README.rst
|