Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

WebView.AllowsAnyHTTPSCertificateForHost

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

Component Version macOS Windows Linux Server iOS SDK
WebView 6.2 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "WebView.AllowsAnyHTTPSCertificateForHost"; Hostname )   More

Parameters

Parameter Description Example
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.

Supported for WebKit 2.x (FileMaker 16 Mac) with MBS Plugin 9.3 or newer.

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/"]

Release notes

Blog Entries

This function checks for a license.

Created 19th May 2016, last changed 13th May 2021


WebView.AllCookies - WebView.CallFunction