2022-04-27 01:12:15 +02:00
|
|
|
# Public access option
|
2021-11-20 01:10:59 +01:00
|
|
|
|
2022-03-10 00:15:16 +01:00
|
|
|
{!web-public-streams-intro.md!}
|
2021-11-20 01:10:59 +01:00
|
|
|
|
2023-01-20 00:47:25 +01:00
|
|
|
Web-public streams are indicated with a **globe** (<i class="zulip-icon zulip-icon-globe"></i>) icon.
|
2021-11-20 01:10:59 +01:00
|
|
|
|
2022-01-29 00:54:13 +01:00
|
|
|
## Enabling web-public streams in your organization
|
2021-11-20 01:10:59 +01:00
|
|
|
|
2022-01-29 00:54:13 +01:00
|
|
|
Enabling web-public streams makes it possible to create web-public
|
2021-11-20 01:10:59 +01:00
|
|
|
streams in your organization. It also makes certain information about
|
|
|
|
your organization accessible to anyone on the Internet via the Zulip
|
|
|
|
API (details below).
|
|
|
|
|
2022-01-29 00:54:13 +01:00
|
|
|
To help protect closed organizations, creating web-public streams is
|
2021-11-20 01:10:59 +01:00
|
|
|
disabled by default for all organizations.
|
|
|
|
|
2022-01-29 00:54:13 +01:00
|
|
|
### Information that can be accessed via API when web-public streams are enabled
|
2021-11-20 01:10:59 +01:00
|
|
|
|
|
|
|
The following information about your organization can be accessed via the Zulip
|
2022-01-29 00:54:13 +01:00
|
|
|
API if web-public streams are enabled and there is currently at least one
|
|
|
|
web-public stream.
|
2021-11-20 01:10:59 +01:00
|
|
|
|
|
|
|
* The organization's settings (linkifiers, custom emoji, permissions
|
|
|
|
settings, etc.)
|
|
|
|
* Names of users
|
|
|
|
* Names of user groups and their membership
|
|
|
|
* Names and descriptions of streams
|
|
|
|
|
2022-01-29 00:54:13 +01:00
|
|
|
Enabling web-public streams is thus primarily recommended for open
|
2021-11-20 01:10:59 +01:00
|
|
|
communities such as open-source projects and research communities.
|
|
|
|
|
2022-01-29 00:54:13 +01:00
|
|
|
### Enable or disable web-public streams
|
2021-11-20 01:10:59 +01:00
|
|
|
|
|
|
|
!!! warn ""
|
2022-05-05 15:45:52 +02:00
|
|
|
Self-hosted Zulip servers must enable support for web-public streams in their
|
2023-03-23 05:32:39 +01:00
|
|
|
[server settings](https://zulip.readthedocs.io/en/stable/production/settings.html)
|
2022-05-05 15:45:52 +02:00
|
|
|
by setting `WEB_PUBLIC_STREAMS_ENABLED = True` prior to proceeding.
|
2021-11-20 01:10:59 +01:00
|
|
|
|
|
|
|
{start_tabs}
|
|
|
|
|
|
|
|
{settings_tab|organization-permissions}
|
|
|
|
|
2022-07-13 11:05:17 +02:00
|
|
|
1. Under **Stream permissions**, toggle the checkbox labeled **Allow
|
|
|
|
creating web-public streams (visible to anyone on the Internet)**.
|
2021-11-20 01:10:59 +01:00
|
|
|
|
|
|
|
{end_tabs}
|
|
|
|
|
2022-01-29 00:54:13 +01:00
|
|
|
### Manage who can create web-public streams
|
2021-11-20 01:10:59 +01:00
|
|
|
|
|
|
|
{start_tabs}
|
|
|
|
|
|
|
|
{settings_tab|organization-permissions}
|
|
|
|
|
2022-07-13 11:05:17 +02:00
|
|
|
1. Under **Stream permissions**, make sure the checkbox labeled **Allow
|
|
|
|
creating web-public streams (visible to anyone on the Internet)** is
|
2021-11-20 01:10:59 +01:00
|
|
|
checked.
|
|
|
|
|
2022-07-13 11:05:17 +02:00
|
|
|
1. Under **Who can create web-public streams?**, select the option you prefer.
|
2021-11-20 01:10:59 +01:00
|
|
|
|
|
|
|
{end_tabs}
|
|
|
|
|
|
|
|
!!! tip ""
|
|
|
|
See [Managing abuse](#managing-abuse) to learn why only
|
2022-07-13 11:05:17 +02:00
|
|
|
trusted roles like moderators and administrators can create web-public streams.
|
2021-11-20 01:10:59 +01:00
|
|
|
|
2022-01-29 00:54:13 +01:00
|
|
|
## Creating a web-public stream
|
2021-11-20 01:10:59 +01:00
|
|
|
|
2022-01-29 00:54:13 +01:00
|
|
|
To create a new web-public stream, follow the [instructions for
|
2021-11-20 01:10:59 +01:00
|
|
|
creating stream](/help/create-a-stream#create-a-stream_1), selecting
|
2022-01-29 00:54:13 +01:00
|
|
|
the **Web-public** option for **Who can access the stream?**.
|
2021-11-20 01:10:59 +01:00
|
|
|
|
2022-01-29 00:54:13 +01:00
|
|
|
To make an existing stream web-public, follow the instructions to
|
2021-11-20 01:10:59 +01:00
|
|
|
[change the privacy of a
|
2022-01-29 00:54:13 +01:00
|
|
|
stream](/help/change-the-privacy-of-a-stream), selecting the
|
|
|
|
**Web-public** option for **Who can access the stream?**.
|
2021-11-20 01:10:59 +01:00
|
|
|
|
|
|
|
## What can logged out visitors do?
|
|
|
|
|
2022-01-29 00:54:13 +01:00
|
|
|
Logged out visitors can browse all content in web-public streams,
|
2021-11-20 01:10:59 +01:00
|
|
|
including using Zulip's [built-in search](/help/search-for-messages)
|
|
|
|
to find conversations. Logged out visitors can only access
|
2022-01-29 00:54:13 +01:00
|
|
|
the web-public streams in your organization, and the topics, messages
|
2021-11-20 01:10:59 +01:00
|
|
|
(including uploaded files) and emoji reactions in those streams.
|
|
|
|
|
|
|
|
They **cannot**:
|
|
|
|
|
2022-01-29 00:54:13 +01:00
|
|
|
* View streams that are not configured as web-public streams (or see
|
2021-11-20 01:10:59 +01:00
|
|
|
whether any such streams exist) without creating an account.
|
|
|
|
* Send messages.
|
|
|
|
* React with emoji.
|
|
|
|
* Participate in polls, or do anything else that might be visible to
|
|
|
|
other users.
|
|
|
|
|
|
|
|
Logged out visitors have access to a subset of the metadata
|
|
|
|
information available to any new account in the Zulip organization,
|
|
|
|
detailed below.
|
|
|
|
|
|
|
|
### Information about the organization
|
|
|
|
|
|
|
|
* The **Organization settings** and **Stream settings** menus are not
|
|
|
|
available to logged out visitors. However, organization settings data is
|
|
|
|
required for Zulip to load, and may thus be [accessed via the Zulip API][info-via-api].
|
2022-11-09 01:41:38 +01:00
|
|
|
* Logged out visitors cannot view [usage statistics](/help/analytics).
|
2021-11-20 01:10:59 +01:00
|
|
|
|
2022-04-28 12:49:40 +02:00
|
|
|
[info-via-api]: /help/public-access-option#information-that-can-be-accessed-via-api-when-web-public-streams-are-enabled
|
2021-11-20 01:10:59 +01:00
|
|
|
|
|
|
|
### Information about users
|
|
|
|
|
|
|
|
Logged out visitors can see the following information about users who
|
2022-01-29 00:54:13 +01:00
|
|
|
participate in web-public streams. They do not see this information
|
|
|
|
about users who do not participate in web-public streams in the Zulip
|
2021-11-20 01:10:59 +01:00
|
|
|
UI, though they may access it via the Zulip API.
|
|
|
|
|
|
|
|
* Name
|
|
|
|
* Avatar
|
|
|
|
* Role (e.g. Administrator)
|
|
|
|
* Join date
|
|
|
|
|
|
|
|
The following additional information is not available in the UI for
|
|
|
|
logged out visitors, but may be accessed without an account via the
|
|
|
|
Zulip API:
|
|
|
|
|
|
|
|
* Configured time zone
|
|
|
|
* Which user groups a user belongs to
|
|
|
|
|
|
|
|
The following information is available to all users with an account,
|
|
|
|
but not to logged out visitors:
|
|
|
|
|
2022-03-14 13:30:43 +01:00
|
|
|
* Presence information, i.e. whether the user is currently online,
|
|
|
|
[their status](/help/status-and-availability),
|
2021-11-20 01:10:59 +01:00
|
|
|
and whether they have set themselves as unavailable.
|
|
|
|
* Detailed profile information, such as [custom profile
|
2022-10-17 23:28:33 +02:00
|
|
|
fields](/help/custom-profile-fields).
|
2022-01-29 00:54:13 +01:00
|
|
|
* Which users are subscribed to which web-public streams.
|
2021-11-20 01:10:59 +01:00
|
|
|
|
|
|
|
## Managing abuse
|
|
|
|
|
|
|
|
The unfortunate reality is that any service
|
|
|
|
that allows hosting files visible to the Internet is a potential target for bad
|
|
|
|
actors looking for places to distribute illegal or malicious content.
|
|
|
|
|
|
|
|
In order to protect Zulip organizations from
|
2022-01-29 00:54:13 +01:00
|
|
|
bad actors, web-public streams have a few limitations designed to make
|
2021-11-20 01:10:59 +01:00
|
|
|
Zulip an inconvenient target:
|
|
|
|
|
2022-03-22 18:06:25 +01:00
|
|
|
* Only users in trusted roles (moderators and administrators) can be given
|
|
|
|
permission to create web-public streams. This is intended to make it hard
|
|
|
|
for an attacker to host malicious content in an unadvertised web-public
|
2021-11-20 01:10:59 +01:00
|
|
|
stream in a legitimate organization.
|
|
|
|
* There are rate limits for unauthenticated access to uploaded
|
|
|
|
files, including viewing avatars and custom emoji.
|
|
|
|
|
|
|
|
Our aim is to tune anti-abuse protections so that they don't
|
|
|
|
interfere with legitimate use. Please [contact us](/help/contact-support)
|
|
|
|
if your organization encounters any problems with legitimate activity caused
|
|
|
|
these anti-abuse features.
|
|
|
|
|
|
|
|
As a reminder, Zulip Cloud organizations are expected to
|
|
|
|
[moderate content](/help/moderating-open-organizations) to ensure compliance
|
2022-03-22 18:18:09 +01:00
|
|
|
with [Zulip's Rules of Use](https://zulip.com/policies/rules).
|
2021-11-20 01:10:59 +01:00
|
|
|
|
|
|
|
## Caveats
|
|
|
|
|
2022-03-10 21:34:51 +01:00
|
|
|
* Web-public streams do not yet support search engine indexing. You
|
|
|
|
can use [zulip-archive](https://github.com/zulip/zulip-archive) to
|
|
|
|
create an archive of a Zulip organization that can be indexed by
|
|
|
|
search engines.
|
|
|
|
* The web-public view is not yet integrated with Zulip's live-update
|
|
|
|
system. As a result, a visitor will not see new messages that are
|
|
|
|
sent to a topic they are currently viewing without reloading the
|
|
|
|
browser window.
|
2021-11-20 01:10:59 +01:00
|
|
|
|
|
|
|
## Related articles
|
|
|
|
|
|
|
|
* [Moderating open organizations](/help/moderating-open-organizations)
|
|
|
|
* [Stream permissions](/help/stream-permissions)
|
|
|
|
* [Restrict stream creation](/help/configure-who-can-create-streams)
|