Rank: Newbie Groups: Member
Joined: 8/25/2021 Posts: 1
|
Hi,
We are using EO.WebBrowser in a C# WinForms application targeting .NET Framework 4.8.
Our application displays potentially sensitive and confidential information, and we want to ensure that this information is never written to disk by the browser component.
We understand that EO.WebBrowser uses Chromium and may create cache files and other temporary files, potentially in the Windows TEMP directory.
We would like to know:
1. Is it possible to completely disable disk caching in EO.WebBrowser, so that all browser caching takes place in memory only? 2. Is there an incognito/private browsing mode that prevents browser data (including HTML content, images, cookies, Local Storage, etc.) from being persisted to disk? 3. If disk caching cannot be disabled, is it possible to configure EO.WebBrowser so that all temporary files and browser data are stored in a specific directory? 4. Does calling Engine.Stop(true) guarantee that all browser-related temporary files, cache files and potentially sensitive data are removed when the application exits? 5. Are there any other files that EO.WebBrowser or its subprocesses might write outside the configured cache directory?
Our primary goal is to prevent sensitive information from being stored on disk at all. Deleting temporary files when the application exits would be a secondary option, but is less desirable since the application could terminate unexpectedly.
Is there a recommended configuration or best practice for this scenario?
Thank you in advance for your help!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,526
|
Hi, There is no way to completely disable the browser engine from writting cache file to disk. However you can control exactly where it writes to through this property: https://www.essentialobjects.com/doc/eo.webengine.engineoptions.cachepath.htmlStopping the engine does NOT remove files from the cache directory (in case it will be needed again). So you will need to explicitly delete that folder after the Engine stops. Thanks!
|