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
- Version 9.3
- Implemented WebView.AllowsAnyHTTPSCertificateForHost for WebKit 2.x, so it works in FileMaker 16 and newer.
Blog Entries
- Neues MBS FileMaker Plugin 9.3 - Über 5900 Funktionen in einem Plugin
- MBS FileMaker Plugin 9.3 - More than 5900 Functions In One Plugin
- MBS FileMaker Plugin, version 9.3pr5
- MBS FileMaker Plugin 6.2 for OS X/Windows
- Webviewer certificate overwrite
- MBS FileMaker Plugin, version 6.2pr10
This function checks for a license.
Created 19th May 2016, last changed 13th May 2021