Also, when people run this at home on their home computers there is limited upload speed (typically 1/10th of the download speed).
Show HN: YouTransfer – Self-hosted file sharing
41–50 of 77 posts
Re: Show HN: YouTransfer – Self-hosted file sharing
#42I've just seen the demo. What about security? Can anybody just "dump" files on your server? Also, when people run this at home on their home computers there is limited upload speed (typically 1/10th of the download speed).
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
#43The software looks interesting, however the web page is hard to read due to low contrast and very thin fonts. Join http://contrastrebellion.com/
Re: Show HN: YouTransfer – Self-hosted file sharing
#44The software looks interesting, however the web page is hard to read due to low contrast and very thin fonts. Join http://contrastrebellion.com/
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?
I'm having a little trouble, too. Even making the type a little bit darker would help.
Re: Show HN: YouTransfer – Self-hosted file sharing
#45I've just seen the demo. What about security? Can anybody just "dump" files on your server? Also, when people run this at home on their home computers there is limited upload speed (typically 1/10th of the download speed).
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 t…
The speeds issue can be solved by running on a cheap DO droplet or scaleway arm server btw (my city luckily has fiber everywhere :)).
Re: Show HN: YouTransfer – Self-hosted file sharing
#46If I read it correctly, this is how a file token is generated, which is supposed to be secure: file.id = md5(file.name + (Math.random() * 1000)); First of all please do not use MD5 for anything anymore, it has known collisions. But you shouldn't also use any hash functions here at all: just generate a long enough random token. Math.random is not a secure PRNG, use crypto.randomBytes in Node or window.crypto.getRandom…
I'd use a uuid
Re: Show HN: YouTransfer – Self-hosted file sharing
#47Earlier quoted context omitted.
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 t…
This is very nice! Personally I'd really like some kind of login for the uploader so I can offer this service to friends and family (and myself ;)) without the risk of someone discovering the url and using it as a way to distribute illegal things... Perhaps it is easy to do with Apache/Nginx (when the upload site is on another subdomain for example), I don't know actually. The speeds issue can be solved by running on…
Re: Show HN: YouTransfer – Self-hosted file sharing
#48Earlier quoted context omitted.
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?
Probably http://www.youtransfer.io/ I'm having a little trouble, too. Even making the type a little bit darker would help.
Re: Show HN: YouTransfer – Self-hosted file sharing
#490b692a00635682fabc78b6a50655242c.binary gets stored, for example in "./uploads/0b/69/2a/0b692a00635682fabc78b6a50655242c.binary" etc. Too many files in one dir can have problems or be slow.
Re: Show HN: YouTransfer – Self-hosted file sharing
#50Might I suggest that you split the folders up in your uploads. 0b692a00635682fabc78b6a50655242c.binary gets stored, for example in "./uploads/0b/69/2a/0b692a00635682fabc78b6a50655242c.binary" etc. Too many files in one dir can have problems or be slow.
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.