Page 1 of 1
CEF chomium unwanted connections
Posted: Mon Jul 29, 2024 4:27 pm
by carlos.ricardo
Is there a way to block network connections, except to my application specific host, and its endpoints? Even running local file page, CEF do some connections to some suspicious IPs. I have tried some arguments swtichs, but without sucess.
it looks a chrome /chromium default behavior, but would like to disable it, if possible.
Re: CEF chomium unwanted connections
Posted: Mon Jul 29, 2024 6:11 pm
by salvadordf
Hi,
Try setting GlobalCEFApp.DisableBackgroundNetworking to TRUE before the GlobalCEFApp.StartMainProcess call in the DPR file.
Re: CEF chomium unwanted connections
Posted: Tue Jul 30, 2024 5:58 pm
by carlos.ricardo
Unfortunately it doesn't work fo me, I also tried the following properties:
MetricsRecordingOnly = True,
DisableRequestHandlingForTesting = True,
HyperlinkAuditin= False;
And the comand line switchs:
--disable-networking,
--no-pings.
I'm using Cef4Delphi CEF4Delphi-107.0.5304.122 with CEF 107.1.12+g65b79a6+chromium-107.0.5304.122_windows32
Re: CEF chomium unwanted connections
Posted: Wed Jul 31, 2024 8:08 am
by dilfich
--disable-networking
It's more correct
--disable-background-networking
This is an old question.
https://stackoverflow.com/questions/5814334/how-to-disable-google-chromes-unrequested-connections