Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5    Statistic  

WebView.AllowsAnyHTTPSCertificateForHost

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

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WebView 6.2 Yes No Yes, macOS only No No
MBS( "WebView.AllowsAnyHTTPSCertificateForHost"; Hostname )   More

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.

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

Blog Entries

Release notes

Created 19th May 2016, last changed 28th June 2019


WebPolicyDelegate.RemoveMimeType   -   WebView.ClearSelection

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos