Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make "Download from URL" configurable #13326

Closed
LukasReschke opened this issue Jan 13, 2015 · 17 comments · Fixed by #14652
Closed

Make "Download from URL" configurable #13326

LukasReschke opened this issue Jan 13, 2015 · 17 comments · Fixed by #14652

Comments

@LukasReschke
Copy link
Member

The "Download from URL" feature should be configurable and allow at least the following configuration options:

  1. Completely disable this feature
  2. Disallow private IP addresses
@LukasReschke LukasReschke added this to the 8.1-next milestone Jan 13, 2015
@LukasReschke
Copy link
Member Author

IMHO it would be sane when per default access to all private IP addresses are forbidden and admins would manually need to opt-in. Also loopback addresses should never get resolved.

@LukasReschke
Copy link
Member Author

@jancborchardt FYI – this will be a switch in the config.php most likely.

@DeepDiver1975
Copy link
Member

I still vote for killing this feature - tooo broken with respect to some issues:

  • content disposition not respected
  • authentication not possible

@DeepDiver1975 DeepDiver1975 modified the milestones: 8.2-next, 8.1-current Mar 2, 2015
@LukasReschke
Copy link
Member Author

That would from a security PoV really be the best option.

👍 as well.

@karlitschek
Copy link
Contributor

@jancborchardt @MTRichards What do you think about killing this feature?

@LukasReschke
Copy link
Member Author

Please notice that the current implementation is dangerous and there is not really a good way we can make it behave completely secure for all deployment scenarios. See http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html for an example, this is exactly the way how apps like Prezi got hacked 🙈

@MTRichards
Copy link
Contributor

This is the download URL direct feature? I lean towards OK, but ...
Trying to understand the use case that we can't support anymore.

@LukasReschke
Copy link
Member Author

This is the download URL direct feature?

Yes. That one:
screen shot 2015-03-02 at 14 33 50

Trying to understand the use case that we can't support anymore.

Downloading warez, a potential DoS vector less, … 🙈

@jancborchardt
Copy link
Member

I wonder if it’s used at all or understood. If anything it’s a very slim usecase. I’d be ok with removing it. What do you think @owncloud/designers?

@MorrisJobke
Copy link
Contributor

I'm fine with the removal.

@MTRichards Think of a ownCloud instance that is in an internal net. With this feature you can download stuff from within this internal net. Simple use case: ownCloud in an NAT-ed network. you can access files from behind that NAT router, by using this feature.

@MTRichards
Copy link
Contributor

@MorrisJobke Thanks!
@LukasReschke LOL, you made me chuckle. That was quite funny...:)

I would remove it, I don't think it is a widely used use case.

@DeepDiver1975
Copy link
Member

I would remove it, I don't think it is a widely used use case.

furthermore there are more elaborate apps out there afaik - https://apps.owncloud.com/content/show.php/ocDownloader+v2.2?content=150227

@nickvergessen please open a pr to kill this for oc8.1 - THX

@enoch85
Copy link
Member

enoch85 commented Mar 2, 2015

Make ocDownloader a recomended app in appstore?

@DeepDiver1975
Copy link
Member

Make ocDownloader a recomended app in appstore?

only if it was reviewed and we know it's properly working

@enoch85
Copy link
Member

enoch85 commented Mar 2, 2015

@DeepDiver1975 Who can make that review and what are the demands for getting an app approved for appstore?

@LukasReschke
Copy link
Member Author

I was so free and did it myself quickly: #14652

@MorrisJobke MorrisJobke modified the milestones: 8.1-current, 8.2-next Mar 2, 2015
@LukasReschke
Copy link
Member Author

@lock lock bot locked as resolved and limited conversation to collaborators Aug 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants