Re: Multi-User Security

From: David E. Meier (dev_at_eth0.ch)
Date: 05/18/04

  • Next message: Michael Collette: "Re: Mail Server in the DMZ question"
    Date: Tue, 18 May 2004 18:32:30 +0200 (CEST)
    To: freebsd-security@freebsd.org
    
    

    > On Mon, May 17, 2004 at 02:08:40PM +0200, David E. Meier wrote:
    >> Hello list.
    >>
    >> I would like to get your opinion on what is a safe multi-user
    >> environment.
    >> The scenario:
    >>
    >> We would like to offer to some customers of ours some sort of network
    >> backup/archive. They would put daily or weekly backups from their local
    >> machine on our server using rsync and SSH. Therefore, they all have a
    >> user
    >> account on our server. However, we must ensure that they would
    >> absolutely
    >> not be able to access any data of each other at all.
    >>
    >> What is the "best and safest" way to do so? Regular UNIX permission
    >> settings? File system ACL's? User jails? Restricting commands in their
    >> path environment? Or would it even make sense to encrypt the file
    >> system?
    >> How would some of the solutions affect data backups/restore on our side?
    >
    > You generally would like to avoid giving people shell (ssh) access if
    > you can avoid it. If you must give shell access, it is best to set up a
    > jail.
    >
    > However, if you're just doing backup/file access - shell access isn't
    > necessary. You can do ftps, (ports/ftp/bsdftpd-ssl), and easily use
    > that to chroot users. You can do sftp (without ssh shell access), but
    > that's trickier to set up.

    Unfortunately we will be using rsync and AFAIK it uses SSH for its
    communication. This way we only transfer the modified files and thus
    greatly reducing traffic.

    > One popular solution these days is WebDAV. You use it along with
    > apache, run it over https, and users can access their files with IE or
    > other clients.

    That's true. In theory at least. ;-) Unfortunately again, IE and File
    Explorer have either bugs or incompatibilities built in that prevents
    using them in a production environment with Linux/Unix. I tried this setup
    before and sometimes it stalls, sometimes it works normal then again it
    takes 2 minutes to transfer some 2KB document... Third-party clients like
    webdrive worked without any complaints though.

    Dave
    _______________________________________________
    freebsd-security@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-security
    To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"


  • Next message: Michael Collette: "Re: Mail Server in the DMZ question"

    Relevant Pages

    • How can I restrict incoming root rsync over ssh to specified command?
      ... will use rsync over ssh to pull certain directories from the ssh ... Here's an example of the command, ... Even with the server locked up in a room with no user ...
      (comp.os.linux.security)
    • Re: How safe are FTP servers?
      ... decent server software with a good track record, ... that rsync can run transparently over a few protocols, including SSH ... Just to clarify, rsync uses it's own rsync protocol over SSH, stuffed ... server if you then use something like Basic HTTP authentication as well - ...
      (comp.os.linux.security)
    • Rsync problem
      ... In our Institut i was able to use rsync with ssh for backup my data from PC to linux server. ... debug: SshAuthMethodClient/sshauthmethodc.c:85: Added "keyboard-interactive" to ...
      (comp.security.ssh)
    • Re: Secure File Transport
      ... rsync is also very cool. ... repositories via IP address or hostname easily, too, so it's quite useful ... based access" sort of way, it's effectively running on top of rsh or SSH, ... your operating system if you use SSH is to do chroot cages on the server. ...
      (comp.unix.misc)
    • Re: Secure File Transport
      ... rsync is also very cool. ... repositories via IP address or hostname easily, too, so it's quite useful ... based access" sort of way, it's effectively running on top of rsh or SSH, ... your operating system if you use SSH is to do chroot cages on the server. ...
      (comp.security.misc)