Bug 494380

Summary: Add option to bypass KIO's "For security reasons, launching executables is not allowed in this context." warning the same way Windows allows you to bypass it's SmartScreen warning.
Product: [Frameworks and Libraries] frameworks-kio Reporter: thomasyou03
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 6.7.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description thomasyou03 2024-10-09 22:13:29 UTC
SUMMARY
When trying to run Outer Wilds through the Linux Outer Wilds Mod Manager and giving it a non-Steam installation of Outer Wilds, KIO stops the game's executable from running with the message "For security reasons, launching executables is not allowed in this context.", which I'd like to completely bypass as I know what I'm running is safe.
Deciding whether to run something or not should be up to the user (or system administrator, which is me in this case), and no one else.
My suggestion would be to add a "Run anyway" button, simple as that. Put as many warnings as needed, the end result should be the ability to run whatever the user wants.

STEPS TO REPRODUCE
1. Install Outer Wilds Mod Manager for Linux.
2. Give it a non-Steam directory with Outer Wilds in it.
3. Get the error "For security reasons, launching executables is not allowed in this context." when trying to launch the game.

OBSERVED RESULT
KIO stops the executable from running with the message "For security reasons, launching executables is not allowed in this context."

EXPECTED RESULT
The game opens and runs.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.10.3-arch1-1-bsb (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 31.1 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XT