#include <SecurityPolicy.h>
|
enum | LocalLoadPolicy {
AllowLocalLoadsForAll,
AllowLocalLoadsForLocalAndSubstituteData,
AllowLocalLoadsForLocalOnly,
AllowLocalLoadsForAll,
AllowLocalLoadsForLocalAndSubstituteData,
AllowLocalLoadsForLocalOnly
} |
|
enum | LocalLoadPolicy {
AllowLocalLoadsForAll,
AllowLocalLoadsForLocalAndSubstituteData,
AllowLocalLoadsForLocalOnly,
AllowLocalLoadsForAll,
AllowLocalLoadsForLocalAndSubstituteData,
AllowLocalLoadsForLocalOnly
} |
|
|
static WEBCORE_EXPORT bool | shouldHideReferrer (const URL &, const String &referrer) |
|
static WEBCORE_EXPORT String | generateReferrerHeader (ReferrerPolicy, const URL &, const String &referrer) |
|
static WEBCORE_EXPORT void | setLocalLoadPolicy (LocalLoadPolicy) |
|
static bool | restrictAccessToLocal () |
|
static bool | allowSubstituteDataAccessToLocal () |
|
static WEBCORE_EXPORT void | addOriginAccessWhitelistEntry (const SecurityOrigin &sourceOrigin, const String &destinationProtocol, const String &destinationDomain, bool allowDestinationSubdomains) |
|
static WEBCORE_EXPORT void | removeOriginAccessWhitelistEntry (const SecurityOrigin &sourceOrigin, const String &destinationProtocol, const String &destinationDomain, bool allowDestinationSubdomains) |
|
static WEBCORE_EXPORT void | resetOriginAccessWhitelists () |
|
static bool | isAccessWhiteListed (const SecurityOrigin *activeOrigin, const SecurityOrigin *targetOrigin) |
|
static bool | isAccessToURLWhiteListed (const SecurityOrigin *activeOrigin, const URL &) |
|
static WEBCORE_EXPORT bool | shouldHideReferrer (const URL &, const String &referrer) |
|
static WEBCORE_EXPORT String | generateReferrerHeader (ReferrerPolicy, const URL &, const String &referrer) |
|
static WEBCORE_EXPORT void | setLocalLoadPolicy (LocalLoadPolicy) |
|
static bool | restrictAccessToLocal () |
|
static bool | allowSubstituteDataAccessToLocal () |
|
static WEBCORE_EXPORT void | addOriginAccessWhitelistEntry (const SecurityOrigin &sourceOrigin, const String &destinationProtocol, const String &destinationDomain, bool allowDestinationSubdomains) |
|
static WEBCORE_EXPORT void | removeOriginAccessWhitelistEntry (const SecurityOrigin &sourceOrigin, const String &destinationProtocol, const String &destinationDomain, bool allowDestinationSubdomains) |
|
static WEBCORE_EXPORT void | resetOriginAccessWhitelists () |
|
static bool | isAccessWhiteListed (const SecurityOrigin *activeOrigin, const SecurityOrigin *targetOrigin) |
|
static bool | isAccessToURLWhiteListed (const SecurityOrigin *activeOrigin, const URL &) |
|
◆ LocalLoadPolicy [1/2]
Enumerator |
---|
AllowLocalLoadsForAll | |
AllowLocalLoadsForLocalAndSubstituteData | |
AllowLocalLoadsForLocalOnly | |
AllowLocalLoadsForAll | |
AllowLocalLoadsForLocalAndSubstituteData | |
AllowLocalLoadsForLocalOnly | |
◆ LocalLoadPolicy [2/2]
Enumerator |
---|
AllowLocalLoadsForAll | |
AllowLocalLoadsForLocalAndSubstituteData | |
AllowLocalLoadsForLocalOnly | |
AllowLocalLoadsForAll | |
AllowLocalLoadsForLocalAndSubstituteData | |
AllowLocalLoadsForLocalOnly | |
◆ addOriginAccessWhitelistEntry() [1/2]
void WebCore::SecurityPolicy::addOriginAccessWhitelistEntry |
( |
const SecurityOrigin & |
sourceOrigin, |
|
|
const String & |
destinationProtocol, |
|
|
const String & |
destinationDomain, |
|
|
bool |
allowDestinationSubdomains |
|
) |
| |
|
static |
◆ addOriginAccessWhitelistEntry() [2/2]
static WEBCORE_EXPORT void WebCore::SecurityPolicy::addOriginAccessWhitelistEntry |
( |
const SecurityOrigin & |
sourceOrigin, |
|
|
const String & |
destinationProtocol, |
|
|
const String & |
destinationDomain, |
|
|
bool |
allowDestinationSubdomains |
|
) |
| |
|
static |
◆ allowSubstituteDataAccessToLocal() [1/2]
bool WebCore::SecurityPolicy::allowSubstituteDataAccessToLocal |
( |
| ) |
|
|
static |
◆ allowSubstituteDataAccessToLocal() [2/2]
static bool WebCore::SecurityPolicy::allowSubstituteDataAccessToLocal |
( |
| ) |
|
|
static |
◆ generateReferrerHeader() [1/2]
◆ generateReferrerHeader() [2/2]
◆ isAccessToURLWhiteListed() [1/2]
bool WebCore::SecurityPolicy::isAccessToURLWhiteListed |
( |
const SecurityOrigin * |
activeOrigin, |
|
|
const URL & |
url |
|
) |
| |
|
static |
◆ isAccessToURLWhiteListed() [2/2]
static bool WebCore::SecurityPolicy::isAccessToURLWhiteListed |
( |
const SecurityOrigin * |
activeOrigin, |
|
|
const URL & |
|
|
) |
| |
|
static |
◆ isAccessWhiteListed() [1/2]
◆ isAccessWhiteListed() [2/2]
◆ removeOriginAccessWhitelistEntry() [1/2]
static WEBCORE_EXPORT void WebCore::SecurityPolicy::removeOriginAccessWhitelistEntry |
( |
const SecurityOrigin & |
sourceOrigin, |
|
|
const String & |
destinationProtocol, |
|
|
const String & |
destinationDomain, |
|
|
bool |
allowDestinationSubdomains |
|
) |
| |
|
static |
◆ removeOriginAccessWhitelistEntry() [2/2]
void WebCore::SecurityPolicy::removeOriginAccessWhitelistEntry |
( |
const SecurityOrigin & |
sourceOrigin, |
|
|
const String & |
destinationProtocol, |
|
|
const String & |
destinationDomain, |
|
|
bool |
allowDestinationSubdomains |
|
) |
| |
|
static |
◆ resetOriginAccessWhitelists() [1/2]
◆ resetOriginAccessWhitelists() [2/2]
void WebCore::SecurityPolicy::resetOriginAccessWhitelists |
( |
| ) |
|
|
static |
◆ restrictAccessToLocal() [1/2]
static bool WebCore::SecurityPolicy::restrictAccessToLocal |
( |
| ) |
|
|
static |
◆ restrictAccessToLocal() [2/2]
bool WebCore::SecurityPolicy::restrictAccessToLocal |
( |
| ) |
|
|
static |
◆ setLocalLoadPolicy() [1/2]
◆ setLocalLoadPolicy() [2/2]
◆ shouldHideReferrer() [1/2]
bool WebCore::SecurityPolicy::shouldHideReferrer |
( |
const URL & |
url, |
|
|
const String & |
referrer |
|
) |
| |
|
static |
◆ shouldHideReferrer() [2/2]
The documentation for this class was generated from the following files: