News for hackers. Stuff that matters.

rbolte

Re:Show HN: YouTransfer – Self-hosted file sharing on Tuesday October 06, 2015 @08:32AM (#10338371)
Released version 1.0.3 which fixes the XSS and path traversal security issues (as well as 3 other issues, see https://github.com/remie/YouTransfer/issues?q=milestone%3A1.... for more info)
Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @01:41PM (#10333415)
Good catch! The XSS error was introduced with the implementation of error handling, but is a really unwanted side effect :)

I've created two issues on GitHub (https://github.com/remie/YouTransfer/issues/107, https://github.com/remie/YouTransfer/issues/108) which will be fixed in a new hotfix release asap.

Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @01:02PM (#10333138)
I'm not familiar with camlistore, but a first glance at the project website tells me that it has way more features and serves a different goal.

YouTransfer is basically a very simple hit & run file sharing application. The goal is to make uploading & sharing files a matter of 2-3 clicks. The files will be stored with a configurable retention time and will be deleted from the server after they expire.

YouTransfer it's not meant to help you organise your digital life, or have access to all your files remotely. It will only help you share files in a more convenient way compared to SFTP or email.

Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @09:41AM (#10331713)
BTW: if this concerns the youtranfer.io website (instead of the YouTransfer application), I'm actually a bit hesitant to change this. I'm currently using the GitHub site generator for convenience. There is a limited set of templates available, most of which are either ugly or have readability issues. As the website basically only consists of the README file, you can also look at the GitHub project for more information (https://github.com/remie/YouTransfer)
Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @08:23AM (#10331297)
Good suggestion! I've added an issue on GitHub (https://github.com/remie/YouTransfer/issues/106).

BTW: normally the files will expire within a specific timeframe and will be removed by a scheduled cleanup process. This should limit the impact, but if the system is heavily used it might become a problem.

Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @08:10AM (#10331254)
I'm a bit hesitant to change this as I'm using the GitHub site generator for convenience. There is a limited set of templates available, most of which are either ugly or have readability issues. As the website basically only consists of the README file, you can also look at the GitHub project for more information (https://github.com/remie/YouTransfer)
Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @08:06AM (#10331235)
The problem with ACL is that I'm worried it will make the project more complex. I've added an issue on GitHub for future reference (https://github.com/remie/YouTransfer/issues/105)
Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @07:22AM (#10331060)
Are you referring to the generated GitHub pages on http://youtransfer.io or to the demo instance (http://demo.youtransfer.io) which is the actual application?
Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @07:20AM (#10331054)
Basically... yeah, if you do not take any additional security measures, anybody can just "dump" files on your server.

You could opt for the S3 storage provider, which will dump the files to Amazon AWS instead.

The YouTransfer project does not implement access control or SSL, so it is highly recommended that you look at the hosting options on the Wiki (https://github.com/remie/YouTransfer/wiki/hosting).

I'm afraid there is not much the project can do concerning upload speeds of individual connections at home :)

Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @06:51AM (#10330948)
Currently, the files are stored as a flat file list on the file system using their randomly generated token to create a [token].json and [token].binary file. The JSON file contains meta information, the .binary file is the actual file.

Using the default settings, you would get something like "./uploads/0b692a00635682fabc78b6a50655242c.binary" in the application directory.

I've already has plans on making it possible to change the interface, for instance not allowing direct download from the homepage. I could ament this with the feature to send email notifications to the system administrator upon successful file transfer. The combination of both would allow you to use YouTransfer.io as a public drop box for files. Does this sound about right to you?

Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @06:38AM (#10330914)
Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @06:33AM (#10330896)
Thanks! I'm glad I could help :)
Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @06:17AM (#10330863)
Any suggestions?
Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @06:04AM (#10330829)
And it's done. The 1.0.2 hotfix is now available with the token generation fix as well as 2 other enhancements.
Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @05:57AM (#10330807)
It's not really related. YouTransfer.io uses DropzoneJS as the file transfer UI for javascript enabled browsers.
Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @05:36AM (#10330730)
I've opted for the 16 bits version right now as it fits better in the UI. There will be an additional issue to deal with improving the bitrate as well as making a suitable UI for it.

EDIT: I'm using `crypto.randomBytes(16).toString('hex')` to be precise

Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @05:34AM (#10330719)
It has less features :)

The success of services like WeTransfer or Dropbox is that it is dead simple to use. It does one thing (sharing files) and makes this as easy as possible.

Seafile seems to be easy enough, yet still has a multitude of features compared to YouTransfer. OwnCloud simply has a whole different goal. It's not about sharing files, it is about organising your entire cloud presence (with e-mail, calendar, foto's, etc).

With YouTransfer, you can have the same ease-of-use but on your own terms. It runs on your own servers, with your own (secure) storage. You are in full control.

Given that it is also published as an NPM package, YouTransfer can be modified to suit your specific needs. This makes it interesting for companies to rebrand it and use it as their file-sharing system.

Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @05:22AM (#10330668)
Working on it as we speak! I'm currently running the tests and hope to have a 1.0.2 hotfix ready by lunch.

EDIT: The 1.0.2 hotfix is now available with the token generation fix as well as 2 other enhancements.

Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @05:21AM (#10330665)
Thanks!
Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @04:40AM (#10330529)
Actually... you don't need any of those. It's only a suggestion. You can also install NodeJS, download YouTransfer, set the port to 80 and run it.

However, it is highly recommended to either use Docker, a reverse proxy, any of the PaaS providers or a combination of the above.

EDIT: I've updated the wiki with additional information on running it locally.

Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @04:38AM (#10330517)
You're right! I was actually still working on the demo and am a bit overwhelmed by the attention generated by the HN show case. I've update the README and website, thanks!
Re:Show HN: YouTransfer – Self-hosted file sharing on Monday October 05, 2015 @04:12AM (#10330450)
Thanks for scrutinising the codebase! You are absolutely right that there is no need for creating a hash. This was just plain laziness on my part. I've created an issue (https://github.com/remie/YouTransfer/issues/101) to change the token generation.

Older »