How to add blacklist ip or host in cef

Having problems with building or using the CefGlue .NET/Mono binding? Ask your questions here.

Moderator: fddima

How to add blacklist ip or host in cef

Postby clorest510 » Sat Jul 04, 2015 1:18 am

hi,
I am coding a C# winform app, and I embedded CefWebBrowser in it.

But when a website transfer something to another website, the anti-virus will warn sometimes.
So I want to forbid this type of "transfer", can you help me ?
clorest510
Newbie
 
Posts: 7
Joined: Sat Jun 20, 2015 4:31 am

Re: How to add blacklist ip or host in cef

Postby clorest510 » Sat Jul 04, 2015 2:27 am

here is the pic:
Image
clorest510
Newbie
 
Posts: 7
Joined: Sat Jun 20, 2015 4:31 am

Re: How to add blacklist ip or host in cef

Postby magreenblatt » Mon Jul 06, 2015 12:26 pm

In C++ you can cancel resource loads in CefRequestHandler::OnBeforeResourceLoad.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: How to add blacklist ip or host in cef

Postby clorest510 » Wed Jul 08, 2015 9:41 am

magreenblatt wrote:In C++ you can cancel resource loads in CefRequestHandler::OnBeforeResourceLoad.


thanks for your reply, I will have a try. thanks.
clorest510
Newbie
 
Posts: 7
Joined: Sat Jun 20, 2015 4:31 am


Return to CefGlue Forum

Who is online

Users browsing this forum: No registered users and 15 guests