.NET CEF wrapper with sandbox support
Posted: Wed Apr 05, 2017 5:35 am
I'm looking for .NET CEF wrapper that supports sandboxing. Unfortunately none of the main projects mentioned in External Projects page do not support that (CefSharp, Cefglue, ChromiumFX). I've also looked into projects for other languages and it seems that they also do not support sandboxing.
I see that requirements for sandboxing are:
As far as I understand it, these restrictions mean that if you want to use sandboxing from .NET you need to implement some kind of interprocess communication with application written purely in C/C++ that embeds CEF.
Do I understand it correctly? Is there such application that I could integrate?
Maybe there are so many limitations related to this approach that from practical point of view it is not sensible to implement it this way.
I'm not an expert on CEF so any help will be appreciated. I'm trying to find existing project that will allow me to include CEF in .NET application with sandbox support or if no such project exists I'm trying to assess how hard it is to implement it.
I see that requirements for sandboxing are:
// To enable the sandbox on Windows the following requirements must be met:
// 1. Use the same executable for the browser process and all sub-processes.
// 2. Link the executable with the cef_sandbox static library.
// 3. Call the cef_sandbox_info_create() function from within the executable
// (not from a separate DLL) and pass the resulting pointer into both the
// CefExecutProcess() and CefInitialize() functions via the
// |windows_sandbox_info| parameter.
As far as I understand it, these restrictions mean that if you want to use sandboxing from .NET you need to implement some kind of interprocess communication with application written purely in C/C++ that embeds CEF.
Do I understand it correctly? Is there such application that I could integrate?
Maybe there are so many limitations related to this approach that from practical point of view it is not sensible to implement it this way.
I'm not an expert on CEF so any help will be appreciated. I'm trying to find existing project that will allow me to include CEF in .NET application with sandbox support or if no such project exists I'm trying to assess how hard it is to implement it.