You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/commercial/sharing.rst
+29-6Lines changed: 29 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2,30 +2,42 @@ Sharing
2
2
-------
3
3
4
4
.. note::
5
-
This feature only exists on `Read the Docs for Business <https://readthedocs.com/>`_.
6
5
7
-
You can share your project with users outside of your company.
8
-
There are two ways to do this:
6
+
This feature only exists on `Read the Docs for Business <https://readthedocs.com/>`__.
7
+
8
+
You can share your project with users outside of your company:
9
9
10
10
* by sending them a *secret link*,
11
11
* by giving them a *password*.
12
12
13
13
These methods will allow them to view a specific project inside your company.
14
14
15
+
Additionally, you can use a HTTP Authorization Header.
16
+
This is useful to have access from a script.
17
+
15
18
Enabling
16
19
~~~~~~~~
17
20
18
21
* Go into your *Project Admin* page and to the *Sharing* menu.
19
-
* Under the *Share with someone new* heading, select the way you prefer (secret link or password), add an expiration date and a *Description* so you remember who you're sharing it with.
22
+
* Under the *Share with someone new* heading, select the way you prefer (secret link, password, or HTTP header token),
23
+
add an expiration date and a *Description* so you remember who you're sharing it with.
20
24
* Click *Share!* to create.
21
25
* Get the info needed to share your documentation with other users:
22
26
23
27
* If you have selected secret link, copy the link that is generated
24
28
* In case of password, copy the link and password
29
+
* For HTTP header token, you need to pass the ``Authorization`` header in your HTTP request.
25
30
26
31
* Give that information to the person who you want to give access.
27
32
28
-
.. note:: You can always revoke access in the same panel.
33
+
.. note::
34
+
35
+
You can always revoke access in the same panel.
36
+
37
+
.. note::
38
+
39
+
Sharing using a password and a HTTP header token are currently in beta.
40
+
If you want access to these features, email us to [email protected].
29
41
30
42
Effects
31
43
~~~~~~~
@@ -40,6 +52,17 @@ Password
40
52
********
41
53
42
54
Once the person you send the link to clicks on the link, they will see
43
-
a *Authorization required* page asking them for the password you
55
+
an *Authorization required* page asking them for the password you
44
56
generated. When the user enters the password, they will have access to
45
57
view your project.
58
+
59
+
HTTP Authorization Header
60
+
*************************
61
+
62
+
You need to send the ``Authorization`` header with the token on each HTTP request.
63
+
The header has the form ``Authorization: Token <ACCESS_TOKEN>``.
0 commit comments