2

I can think of a couple of ways which are not that easy:

  1. ftp - user needs ftp (or even ftps) client, active vs. passive, firewalls
  2. https - only for download
  3. webDAV - setup of apache is rather extensive
  4. scp and normal user accounts - hard to secure the system from then local users

I guess I am searching for a simple webDAV server that is easy to setup and already contains sane defaults (and https support).

Should allow for upload-only directories (-wx permissions).

1
2

Simple, user-friendly solutions:

As long as other solutions are concerned, you can setup what you prefer: nfs, ftp etc etc, and easily create encrypted tunnel with socat[1].

[1] "SSL tunnel with mutual authentication, using socat"

2
  • Hm, dropbox and colleagues don't run on my linux system. They are remote services. Socat is not always sufficient when you have services that use multiple ports or dynamic ports from a port range (e.g. nfs. ftp ...) - and such a setup looks certainly more complicated/fragile than - say - configuring dovecot/postfix/nginx. – maxschlepzig Aug 30 '11 at 9:00
  • As you've wrote. Everything depends on user needs. I've mentioned above solutions, cause I believe in some cases might be helpful. If something more suitable to your needs will come to my mind, I'll let you know. – Grzegorz Wierzowiecki Aug 30 '11 at 12:13
0

You can chroot ssh/scp sessions. Then, if you turn off password auth on the sshd you won't be able to be bruteforced.

What could be more secure, over the internet, than chrooted ssh via pubkeys?

1
  • 1
    Try being more helpful in your answer. If the person asks for easy solutions, a vague reference to chroot+ssh/scp (plus some keywords) will not help. This kind of answer might get you downvotes in the future. – rozcietrzewiacz Aug 27 '11 at 22:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.