RE: Web area and not secure site

2019-04-12 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Jeremy,

Thanks for your thoughts, but it looks all has to do with having a https url 
without having a valid certificate for the web site
It looks like the 64-bit embedded web rendering engine doesn’t show anything in 
that case
When I make the web server accept using http all works fine, what of course 
isn’t desirable

So: When using 64-bit embedded web rendering and make a call to an unsecure 
website (https without valid certificate) it show a blank page
I would expect the same behavior as with Chrome, and this certainly isn’t just 
a blank page

Van: Jeremy French 
Verzonden: donderdag 11 april 2019 16:35
Aan: 4D iNUG Technical <4d_tech@lists.4d.com>
CC: Piotr Chabot Stadhouders 
Onderwerp: Re: Web area and not secure site

Have you tried making these calls in the form’s “form method”.

In the form’s “On Load” event

 WA OPEN URL(*;$objName_webArea_t;"about:blank")
 WA SET PAGE CONTENT(*;$objName_webArea_t;"";"file:///“)
 SET TIMER(-1)
In the form’s “On Timer” event

 SET TIMER(0)
 WA OPEN URL(*;$objName_webArea_t;"about:blank")
 WA SET PAGE CONTENT(*;$objName_webArea_t;"";"file:///“)

Also see:
https://doc.4d.com/4Dv17/4D/17.1/SET-TIMER.301-4178784.en.html


On Apr 11, 2019, at 3:25 AM, Piotr Chabot Stadhouders via 4D_Tech 
<4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>> wrote:

 I don't use the embedded version because
* in 64-bit (Blink) I get an blank HTML page, and nothing is shown

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Web area and not secure site

2019-04-11 Thread Jeremy French via 4D_Tech
Have you tried making these calls in the form’s “form method”.

In the form’s “On Load” event

 WA OPEN URL(*;$objName_webArea_t;"about:blank")
 WA SET PAGE CONTENT(*;$objName_webArea_t;"";"file:///“)
 SET TIMER(-1)  

In the form’s “On Timer” event

 SET TIMER(0)   
 WA OPEN URL(*;$objName_webArea_t;"about:blank")
 WA SET PAGE CONTENT(*;$objName_webArea_t;"";"file:///“)

Also see:
https://doc.4d.com/4Dv17/4D/17.1/SET-TIMER.301-4178784.en.html 


> On Apr 11, 2019, at 3:25 AM, Piotr Chabot Stadhouders via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
>  I don't use the embedded version because
> * in 64-bit (Blink) I get an blank HTML page, and nothing is shown

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Web area and not secure site

2019-04-11 Thread Keisuke Miyako via 4D_Tech
is the internal website http: or https:

?

it's not quite clear from your post.

-

I think the 32-bit system web area on windows inherits the registry setting for 
Internet Explorer

such as

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet 
Settings\Zones\0

or

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet 
Settings\Zones\0

(you can search the inter web for details)

but I don't know if the same applies to 64-bit as well.

c.f.

https://docs.microsoft.com/en-us/microsoft-edge/deploy/group-policies/security-privacy-management-gp#prevent-certificate-error-overrides

also did you Google "DLG_FLAGS_SEC_CERT_CN_INVALID"

maybe the cert. common name is a domain and the URL is an IP address, or vice 
versa.

should be an easy problem to fix.

> 2019/04/11 16:25、Piotr Chabot Stadhouders via 4D_Tech 
> <4d_tech@lists.4d.com>のメール:
>
> We have an internal website (development) that we want to access in a web area
> Because its an internal URL, and for now in development, we don't have a 
> certificate for it right now
> So, when using Internet explorer, we get a message "This site is not secure"
> However, we can proceed and after seeing the error DLG_FLAGS_INVALID_CA, 
> DLG_FLAGS_SEC_CERT_CN_INVALID we can force to go further
>
> When using a webarea (not embedded, because embedded looks nothing like it 
> should be) however I get the message "This site is not secure", but with 
> errorcode 0
> And more important, I am not able to proceed to the website
>
> Does anybody know how I can solve this problem?




**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Web area and not secure site

2019-04-11 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi,

4D v17R3 Windows

We have an internal website (development) that we want to access in a web area
Because its an internal URL, and for now in development, we don't have a 
certificate for it right now
So, when using Internet explorer, we get a message "This site is not secure"
However, we can proceed and after seeing the error DLG_FLAGS_INVALID_CA, 
DLG_FLAGS_SEC_CERT_CN_INVALID we can force to go further

When using a webarea (not embedded, because embedded looks nothing like it 
should be) however I get the message "This site is not secure", but with 
errorcode 0
And more important, I am not able to proceed to the website

Does anybody know how I can solve this problem?

Gr,
Piotr

P.S. I don't use the embedded version because
* in 32-bit it looks nothing like it should
* in 64-bit (Blink) I get an blank HTML page, and nothing is shown

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**