Class
WebKit2SecurityManager
Description [src]
class WebKit2.SecurityManager : GObject.Object {
parent: GObject
}
Controls security settings in a WebKitWebContext
.
The WebKitSecurityManager
defines security settings for URI
schemes in a WebKitWebContext
. Get it from the context with
webkit_web_context_get_security_manager(), and use it to register a
URI scheme with a certain security level, or to check if it already
has it.
Instance methods
webkit_security_manager_register_uri_scheme_as_cors_enabled
Register scheme
as a CORS (Cross-origin resource sharing) enabled scheme.
This means that CORS requests are allowed. See W3C CORS specification
http://www.w3.org/TR/cors/.
webkit_security_manager_register_uri_scheme_as_display_isolated
Register scheme
as a display isolated scheme. This means that pages cannot
display these URIs unless they are from the same scheme.
webkit_security_manager_register_uri_scheme_as_empty_document
Register scheme
as an empty document scheme. This means that
they are allowed to commit synchronously.
webkit_security_manager_register_uri_scheme_as_local
Register scheme
as a local scheme. This means that other non-local pages
cannot link to or access URIs of this scheme.
webkit_security_manager_register_uri_scheme_as_no_access
Register scheme
as a no-access scheme. This means that pages loaded
with this URI scheme cannot access pages loaded with any other URI scheme.
webkit_security_manager_register_uri_scheme_as_secure
Register scheme
as a secure scheme. This means that mixed
content warnings won’t be generated for this scheme when
included by an HTTPS page.
webkit_security_manager_uri_scheme_is_cors_enabled
Whether scheme
is considered as a CORS enabled scheme.
See also webkit_security_manager_register_uri_scheme_as_cors_enabled().
webkit_security_manager_uri_scheme_is_display_isolated
Whether scheme
is considered as a display isolated scheme.
See also webkit_security_manager_register_uri_scheme_as_display_isolated().
webkit_security_manager_uri_scheme_is_empty_document
Whether scheme
is considered as an empty document scheme.
See also webkit_security_manager_register_uri_scheme_as_empty_document().
webkit_security_manager_uri_scheme_is_local
Whether scheme
is considered as a local scheme.
See also webkit_security_manager_register_uri_scheme_as_local().
webkit_security_manager_uri_scheme_is_no_access
Whether scheme
is considered as a no-access scheme.
See also webkit_security_manager_register_uri_scheme_as_no_access().
webkit_security_manager_uri_scheme_is_secure
Whether scheme
is considered as a secure scheme.
See also webkit_security_manager_register_uri_scheme_as_secure().
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct WebKit2SecurityManagerClass {
GObjectClass parent_class;
void (* _webkit_reserved0) (
void
);
void (* _webkit_reserved1) (
void
);
void (* _webkit_reserved2) (
void
);
void (* _webkit_reserved3) (
void
);
}
Class members
parent_class |
|
No description available. | |
_webkit_reserved0 |
|
No description available. | |
_webkit_reserved1 |
|
No description available. | |
_webkit_reserved2 |
|
No description available. | |
_webkit_reserved3 |
|
No description available. |