Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  

Webview.AllowsAnyHTTPSCertificateForHost

Allows a certain host to allow use of any HTTP certificates.

Component: Webview
Version: 6.2
Mac OS X: Yes
Windows: No
Server: Yes
FileMaker Cloud: No

MBS( "Webview.AllowsAnyHTTPSCertificateForHost"; Hostname )

Parameters

Parameter Description Example value
Hostname The hostname to allow. "www.macsw.de"

Result

Returns OK or error.

Description

Allows a certain host to allow use of any HTTP certificates.
Sometimes you have to load a website where the SSL Zertifikate ist not for the given domain.
With putting a domain on the exception list, we can allow loading the given site.

Not supported for WebKit 2.x (FileMaker 16 Mac).

Examples

Allow some domains and load website:

Set Variable [$r; Value:MBS("Webview.AllowsAnyHTTPSCertificateForHost"; "macsw.de")]
Set Variable [$r; Value:MBS("Webview.AllowsAnyHTTPSCertificateForHost"; "www.macsw.de")]
Set Web Viewer [Object Name: "web"; URL: "https://www.macsw.de/plugin/Prerelease/"]


WebView.SetTitle   -   Webview.Cookies.ClearForURL

Feedback: Report problem or ask question.




Links
MBS Realbasic Chart Plugins - Pfarrgemeinde St. Arnulf Nickenich