Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Security issue (Cross-Origin)
Qt 6.11 is out! See what's new in the release blog

Security issue (Cross-Origin)

Scheduled Pinned Locked Moved Solved QtWebEngine
1 Posts 1 Posters 814 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lachrymology
    wrote on last edited by Lachrymology
    #1

    Hi all,

    I'm using pdf.js in my WebEngine and it isn't able to load local files since I moved it to the resources due to the cross-origin issue.

    I figured out, that the application needs the argument "--disable-web-security" to be able to load local files in this scenario.

    My question: Is there any other way to turn off the web security programmatically via WebEngine or any other work-a-round?

    Best regards,
    Mike

    It's a bug.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved