Results 1 to 4 of 4

Thread: Share a folder with a remote internet user (no Dropbox or similar)

  1. #1
    Join Date
    Jan 2013
    Beans
    1

    Share a folder with a remote internet user (no Dropbox or similar)

    Dear all,

    I have Ubuntu 12.04 64 bits runing on a Desktop PC which I'm using as a data server for an external aplication runinng on several windows based laptop.


    In Ubuntu I've a folder where I store huge amounts of data and a simple script to process those data. The remote aplication access the Ubuntu computer through the LAN, executes the script, and takes the data it needs. Until now everything is runing fine. The data folder in Ubuntu is just a shared folder with universal access that can be reached from any PC conected to the LAN.

    So, it happens that now I have to give access to this folder to users which are outside the LAN. My first aproach was to look to a cloud based storage solution (Ubuntu 1, Dropbox...) but this is unfeasible due to the fact that 1)I need lots of GB of space 2) I need to remotely execute the script on my local Linux machine.

    So, I've reached to the conclusion that I have to somehow allow that a remote user could have full access to an specific folder on my local machine. So my simple question is:

    What would be the best (and easiest) aproach to share a folder on my local PC with a remote internet user? (no dropbox or similar please...)

    Thanks a lot!

  2. #2
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Share a folder with a remote internet user (no Dropbox or similar)

    Welcome to the Ubuntu Forums

    I suggest SSH (and SFTP) with public key authentication (no password authentication because it is not safe enough on the internet). You should get a static IP address. See for example

    https://www.opendns.com/opendns-ip-addresses

    And you need to activate your firewall and to change the ssh port from the default 22 to something very different.

    https://help.ubuntu.com/10.04/serverguide/openssh-server.html

    https://wiki.ubuntu.com/BasicSecurity

  3. #3
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    13,316
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Share a folder with a remote internet user (no Dropbox or similar)

    What OS will the remote user(s) be running? How savvy are they?

    One approach you might consider is using webdav with authentication. For more security you can run it over SSL. The remote user can then define a desktop folder that points to the DAV share. It will act like any other shared folder. Both Windows and Linux clients support this. OS X probably does, too, but I've never used a Mac.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  4. #4

    Re: Share a folder with a remote internet user (no Dropbox or similar)

    Quote Originally Posted by daxnet View Post
    What would be the best (and easiest) aproach to share a folder on my local PC with a remote internet user? (no dropbox or similar please...)

    Thanks a lot!
    Code:
    python -m SimpleHTTPServer
    in the folder to be shared will serve up at
    http://$HOSTNAME:8000/

    the "remote" part may be tricky.
    Sorry, I power posted.
    Windows assumes the user is an idiot.
    Linux demands proof.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •