Code Monkey home page Code Monkey logo

Comments (9)

rocheston avatar rocheston commented on June 10, 2024 2

Your solution totally worked. Awesome. The Download option is gone from the file manager application. Thank you, Anders. OS.js makes the best Intranet portal for organizations. What a beautiful platform. And your support is fantastic. Thanks again.

from os.js.

andersevenrud avatar andersevenrud commented on June 10, 2024

This is currently not possible to disable via an option. It could be added pretty easily though.

I'll have a look into this ASAP.

from os.js.

hello-smile6 avatar hello-smile6 commented on June 10, 2024

Couldn't people download files using the same path as is used for HTML viewing?

from os.js.

rocheston avatar rocheston commented on June 10, 2024

Thanks. I want to restrict people from downloading copyrighted content.

from os.js.

hello-smile6 avatar hello-smile6 commented on June 10, 2024

Thanks. I want to restrict people from downloading copyrighted content.

You'd probably want to use Youtube embeds, then. If you send the data to the browser unencrypted, someone will figure out how to get it.

from os.js.

rocheston avatar rocheston commented on June 10, 2024

Encrypted using Cloudflare with Argo tunnel.

from os.js.

hello-smile6 avatar hello-smile6 commented on June 10, 2024

Encrypted using Cloudflare with Argo tunnel.

But it's decrypted client-side to play the video, right?

from os.js.

rocheston avatar rocheston commented on June 10, 2024

Make it hard for someone to figure that out. I will be hosting company videos, PDF, Word documents, configuration files, training materials, etc. I don't want the user to know you can download easily.

Just like Youtube. You can download the videos if you know the right tool like wondershare but for a normal person, there is a 'no download' button.

I understand this is not a super-duper content protection security mechanism. I simply don't want the download option in my case. I'm building a read-only portal with osjs for an internal work deployment project.

from os.js.

andersevenrud avatar andersevenrud commented on June 10, 2024

If you update @osjs/filemanager-application you can now to the following in your client config:

// src/client/config.js
export default {
  filemanager: {
    disableDownload: true
  }
}

Then rebuild with npm run build and the menu item should disappear.

from os.js.

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.