Nextcloud PHP API (master)

ContentSecurityPolicy.php

SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors SPDX-FileCopyrightText: 2016 ownCloud, Inc.

SPDX-License-Identifier: AGPL-3.0-only

Table of Contents

Classes

ContentSecurityPolicy
Class ContentSecurityPolicy is a simple helper which allows applications to modify the Content-Security-Policy sent by Nextcloud. Per default only JavaScript, stylesheets, images, fonts, media and connections from the same domain ('self') are allowed.

        
On this page

Search results