Giter VIP home page Giter VIP logo

Comments (2)

kroko avatar kroko commented on June 19, 2024

I do not know much about SecureView. Just read this and as I understand it is name for the option to "hide download".

When ‘Hide download’ is enabled, PDF documents and images will appear on the viewers screen without the menu options to download the file(s) or add them to their own private cloud.

May I ask you to test a behaviour - try sharing a directory that holds some 3d file(s) (do not share single file!) and disallow downloading. The one that has share url should see the dir of 3d files, can view them, but no download button is present. Is this the behaviour you're looking for?

Screenshot 2023-10-24 at 01 26 00 Screenshot 2023-10-24 at 01 27 22

If you would try to do it with "just sharing one file" it is a known issue with the current implementation #4 (comment)

Whatever the case - it is practically impossible to achieve what you are asking for. Ability to view file automatically means ability to download them (it is actually downloaded once you view it - everything you see in your browser is downloaded, every image, every video, font, whatever). Viewing means downloading under the hood. Hiding download button does nothing in terms of security you are seemingly looking for. It can be applied to broader discussion on how web works.
I could theorise that in order for you to achieve what you are asking for is to never pass 3D file to the client, just "image of it", which technically can be achieved by realtime server side rendering - server opens 3D file, renders it to an image, receives your mouse commands about how you want to rotate/zoom it, does that, takes as "screenshot" and pipes that image to browser so that the viewer only sees "image". So you don't view actual 3d file, but just stream of images of it. Such functionality is out of scope for this app.

from files_3dmodelviewer.

TinoJa avatar TinoJa commented on June 19, 2024

OK, I mean rather the extension of this SecureView you mentioned. Maybe it has another name. ... Comment: No it is more optimised. My users will be manly B2B and they are no IT-Professionals. ;) I know there is no 100% Security, but sharig files, that can't be viewd by the user is a useless function in my eyes.

I shared a full folder with OBJ, MTL, and PNG file.
In Nextcloud 27.0.2 the sharing settings looks like this:
image
However, I can still view documents with Only-Office, but I can't download them in any way (trick) that I know of.
Normally the app Nextcloud Office (Collabora Online) looks like that:
image
But with the used shared seettings it looks like that:
image
No download, print or writing options are shown, it looks like an picture, also right click isn't working.

The 3DModelViewer app looks like that: No model shown.
image
And if I klick on download I get an permission error.

PS: For myself as a normal user the 3DModelViewer seemed to show only rendered images. That why I asked. If I use right click on the shown model, i can only download an HTML-file. So if download and right-klick options are hided and the model can be shown, it is in my eyes enough security.

from files_3dmodelviewer.

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.