Koozali.org: home of the SME Server

Upload documents to i-bay via HTTPS

Offline 3ll10t

  • 16
  • +0/-0
Upload documents to i-bay via HTTPS
« on: November 29, 2017, 12:28:53 PM »
Hi all,

I've created an i-bay to be accessed over the web via HTTPS. Uploading documents to the share from windows explorer works fine but is there a way of doing it on the webpage itself?

Offline mmccarn

  • *
  • 2,626
  • +10/-0
Re: Upload documents to i-bay via HTTPS
« Reply #1 on: November 29, 2017, 01:25:08 PM »
There are severall contribs that I think can be configured to allow https uploads to an ibay:

"Webshare"
https://wiki.contribs.org/Webshare

"OpenUpload"
https://wiki.contribs.org/OpenUpload

"SharedFolders"
https://wiki.contribs.org/SharedFolders

"Pydio"
https://wiki.contribs.org/Pydio

There are probably simpler PHP apps for simple file uploads, and many standard "web apps" - such as wordpress or drupal - also allow uploads.

Ultimately, I setup Owncloud/Nextcloud on a separate Ubuntu box as a general purpose Dropbox/Google Drive replacement - which lets me mount SME server folders as "external data" shares using either SMB or SFTP.

If you want to allow remote developers to sync website content with an i-bay, you might want to look at UserManager, Remoteuseraccess, per-user ssh keys, and creative user & ibay permissions, or give them VPN access and configure FTP to work for them over the VPN.

If you aren't supporting anyone else -- that is, if you're maintaining the server yourself, you can get to your ibays as 'root' using any SFTP client.

Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Upload documents to i-bay via HTTPS
« Reply #2 on: November 29, 2017, 02:37:36 PM »
There are severall contribs that I think can be configured to allow https uploads to an ibay:

"Webshare"
https://wiki.contribs.org/Webshare

will allow to upload on a special space only

"OpenUpload"
https://wiki.contribs.org/OpenUpload

will also only create dowload tickets on a special space

"SharedFolders"
https://wiki.contribs.org/SharedFolders

will not allow upload via a a webform to an ibay, but rather create something similar to ibays called shares

"Pydio"


https://wiki.contribs.org/Pydio
 will allow to upload to shares and do much more, but not to ibays


I would rather suggest :
https://wiki.contribs.org/PhpWebFtp

Offline 3ll10t

  • 16
  • +0/-0
Re: Upload documents to i-bay via HTTPS
« Reply #3 on: January 24, 2018, 11:55:12 AM »
will not allow upload via a a webform to an ibay, but rather create something similar to ibays called shares

Is there a way to upload to shares via https using this contrib?

Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Upload documents to i-bay via HTTPS
« Reply #4 on: January 24, 2018, 08:08:21 PM »
Is there a way to upload to shares via https using this contrib?

all of the solution I presented allow this. You just need to get your certificate for the right domain. smeserver-letsencrypt could help for this.
optionally you need to make sure that the http redirect to https or refuses connections to avoid errors.