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.

Hierarchy

hierarchy this WebKitSecurityManager ancestor_0 GObject ancestor_0--this

Ancestors

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().

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

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
  );
  
}
No description available.
Class members
parent_class
GObjectClass
  No description available.
_webkit_reserved0
void (* _webkit_reserved0) (
void
  )
  No description available.
_webkit_reserved1
void (* _webkit_reserved1) (
void
  )
  No description available.
_webkit_reserved2
void (* _webkit_reserved2) (
void
  )
  No description available.
_webkit_reserved3
void (* _webkit_reserved3) (
void
  )
  No description available.