Nextcloud PHP API (master)

StrictContentSecurityPolicy.php

SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors SPDX-License-Identifier: AGPL-3.0-or-later

Table of Contents

Classes

StrictContentSecurityPolicy
Class StrictContentSecurityPolicy 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