Welcome Guest Search | Active Topics | Sign In | Register

EnableWebSecurity and file:// access Options
JW
Posted: Monday, December 1, 2025 4:56:07 AM
Rank: Advanced Member
Groups: Member

Joined: 2/8/2019
Posts: 61
In the latest EO, the use of "EnableWebSecurity" is obsolete. I assume this mapped to something akin to the Chromium switch "--disable-web-security".

For our app, we require access using the "file://" protocol.

Without EnableWebSecurity set to false, we get CORS errors when making XHR requests.

Is there an equivalent to the Chromium switch "--allow-file-access-from-files" to allow us to get around this? Or a way to mark XHR requests to the "file://" protocol such that the CORS protection doesn't kick in?

(interesting JS/CSS/favicons from our main HTML file are loaded just fine, as is media (like MP3s) using an Audio object from JS, it seems just XHR requests (and I don't think we can use Fetch for file:// access))


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.