Giter Club home page Giter Club logo

Comments (10)

bgemmill avatar bgemmill commented on August 20, 2024 1

Thanks @calisro and @flurischt, I'll see about what can be done locally if a key opens up.

from acd_cli.

bgemmill avatar bgemmill commented on August 20, 2024 1

The ticket is labeled as "why not...", so that was my devil's advocate hat. I'm with you on this one. More generally, since the model here is really users accessing their own files, we're hitting a strange case of oauth tokens since the third party access is the user.

from acd_cli.

flurischt avatar flurischt commented on August 20, 2024 1

Maybe one more comment about this: Another upside to moving the webserver to the client is the appspot api limit. The current proxy seems to be hitting the limit a lot. Only solution is to either pay or move away from there. I don't think yadayada would want to pay the resources of this proxy.

from acd_cli.

calisro avatar calisro commented on August 20, 2024

Yep. I was discussing this yesterday with others. Totally agree.

#1 (comment)

from acd_cli.

bgemmill avatar bgemmill commented on August 20, 2024

I'm going to learn about amazon's security profiles today; this approach may not be possible if amazon requires one whitelisted app; that proxy will need to run somewhere and I'd guess why the current system was built the way it was.

from acd_cli.

calisro avatar calisro commented on August 20, 2024

Rclone doesn't use a proxy. The proxy is done on the client.

from acd_cli.

flurischt avatar flurischt commented on August 20, 2024

I don't think an external proxy is needed. The client id (or however Amazon calls it) is just to identify what application is talking to the api and this way the user can see in the settings which applications have access to the drive. If Amazon allows any redirect urls then in my opinion there's no need for an external proxy. Let me know if I can be of any help.

from acd_cli.

bgemmill avatar bgemmill commented on August 20, 2024

Better answer: because the security profile would be publicly visible, and other apps could masquerade as acdcli. Rclone has this issue due to not running a proxy.

I'm not sure if that's a showstopper (especially if rclone does it), but it at least answers the ticket.

from acd_cli.

calisro avatar calisro commented on August 20, 2024

Instead of exposing the security profile ID, the thousands of clients instead incur the risk of an intermediate server spilling tokens due to either malicious or accidental reasons? ha. With that intermediate server there is NO WAY TO PREVENT the owner of that server (or anyone who has the means to access it) from viewing everyone's unencrypted files. Worse yet, you wouldn't even know it happened. 👍 oh and this also means you have a single point of failure outside of the actual ACD service.

"Fool me once, shame on you. Fool me twice, shame on me."

from acd_cli.

flurischt avatar flurischt commented on August 20, 2024

https://www.reddit.com/r/DataHoarder/comments/6c9fnj/acd_support_may_return_to_rclone/

Seems like having the secret local is not an option. Then a proxy is the only way. :(

from acd_cli.

Related Issues (4)

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.