GithubHelp home page GithubHelp logo

Download file about admbrowser HOT 4 OPEN

alandmoore avatar alandmoore commented on July 19, 2024
Download file

from admbrowser.

Comments (4)

stroobandt avatar stroobandt commented on July 19, 2024

I am experiencing a similar problem. I would like to download an octet-stream and simply save it. I am wondering what handler would correspond to a Qt file save dialog.

allow_external_content: True
content_handlers:
  application/octet-stream: ???

from admbrowser.

alandmoore avatar alandmoore commented on July 19, 2024

I haven't had my head in Qt for a while, but I'm assuming one would need to implement a save dialog and file saving of some sort. I took a quick look over the docs and didn't see anything obvious built in to QtWebEngine.

Given that ADMBrowser is aimed at kiosk / locked down usage, I'd be interested in hearing a use case for downloading and saving files. That's one of the many things I created this browser to not have, though if there is an arguable use case I would accept a PR as long as it was disabled by default.

from admbrowser.

stroobandt avatar stroobandt commented on July 19, 2024

Here is a use case:
A library thin client with only USB ports provides default access to https://pubmed.ncbi.nlm.nih.gov
The accessible USB port allows to download medical scientific papers in PDF on a USB memory stick.

Here is another one:
ADMbrowser manages the web interface of a router or headless system.
Using ADMbrowser as a dedicated browser in this case provides additional security by preventing keystroke recording attacks. The web interface allows for downloading a backup of the router settings in a proprietary file format.

from admbrowser.

alandmoore avatar alandmoore commented on July 19, 2024

That makes sense. This is a feature that would definitely be disabled by default, and one would want to be able to secure it to make sure the download dialog doesn't become a back door to browsing the system.

from admbrowser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.