Git Product home page Git Product logo

Comments (4)

sbarex avatar sbarex commented on July 19, 2024

As stated in the readme / security, the application uses a security exception to access the entire disk. This exception is necessary to be able to access local images without having to create an additional new process (which would still operate outside the sandbox).

from qlmarkdown.

setanarut avatar setanarut commented on July 19, 2024

As stated in the readme / security, the application uses a security exception to access the entire disk. This exception is necessary to be able to access local images without having to create an additional new process (which would still operate outside the sandbox).

Why does it need the entire disk? For example, I don't want it to access and preview the Documents folder. We should be able to toggle permission to the entire disk on-demand. That's why these settings are there.

from qlmarkdown.

sbarex avatar sbarex commented on July 19, 2024

Because the sandbox extension can only access the clicked file and from the extension it is not possible to open a dialog to allow the user to grant access to the folder for reading images.

Once you request the preview you automatically grant read privileges on the file even if the application is not authorized to access the given folder. So, if I disable the security exception I cannot read the linked images.

The alternative is to generate the preview with a non-sandboxed process. It would actually complicate the code without improving privacy.

Anyway, if you check my code, you will see that your files are not being spied on by anyone 😉

from qlmarkdown.

setanarut avatar setanarut commented on July 19, 2024

I don't know Swift/macOS and can't read it. then I trust you.

from qlmarkdown.

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.