Author Topic: [File Hosting] WelfareHost File Hosting!!! (Yep This Too!)  (Read 3807 times)

zzbomb

  • Hero Member
  • *****
  • Posts: 964
  • The awesome server admin
    • View Profile
    • ChemicalServers
[File Hosting] WelfareHost File Hosting!!! (Yep This Too!)
« on: December 21, 2009, 08:35:31 PM »

WelfareHost File Hosting is a free file hosting service by WelfareHost. Feel free to upload your files here!. Just Browse The File And Click Upload And You Will Recieve A Download Link.

Our max file size is currently 100MB files as long as you agree to the TOS.

THIS SERVICE IS TEMPORARILY OFFLINE
« Last Edit: June 13, 2011, 08:42:22 PM by rvtraveller »

EpicCyndaquil

  • The not so scary
  • Administrator
  • Hero Member
  • *****
  • Posts: 1006
    • View Profile
    • Epic Cyndaquil
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #1 on: December 21, 2009, 08:39:22 PM »
Congrats on being the first file host here, and probably the only one we'll see that we'll know the owner of.

And this is kinda strange, I feel like I'm saying thanks to myself as well.  :P

zzbomb

  • Hero Member
  • *****
  • Posts: 964
  • The awesome server admin
    • View Profile
    • ChemicalServers
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #2 on: December 22, 2009, 04:22:23 PM »
Congrats on being the first file host here, and probably the only one we'll see that we'll know the owner of.

And this is kinda strange, I feel like I'm saying thanks to myself as well.  :P

Well sir, you kinda are :P

Brad

  • Lurker
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1512
    • View Profile
    • Brads Blawg
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #3 on: March 09, 2010, 05:53:04 PM »
Is this offline indefinitely now?
Regards, Brad

Masturbation. Taking matters into your own hands.

I er, finally have a website

zzbomb

  • Hero Member
  • *****
  • Posts: 964
  • The awesome server admin
    • View Profile
    • ChemicalServers
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #4 on: March 10, 2010, 11:21:10 AM »
We May bring it back under our new name. But will stay offline until we are ready to relaunch the service.

antimatter15

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #5 on: December 04, 2010, 11:47:32 PM »
is this coming back?

zzbomb

  • Hero Member
  • *****
  • Posts: 964
  • The awesome server admin
    • View Profile
    • ChemicalServers
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #6 on: December 08, 2010, 07:40:41 AM »
It could... Although for now i dont think so, unless i have some serious interest.. Are you interested?

antimatter15

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #7 on: December 08, 2010, 04:03:20 PM »
It could... Although for now i dont think so, unless i have some serious interest.. Are you interested?
Nah, but if you did make it, I could set it as the default binary provider for drag2up which has ~4000 weekly users.

zzbomb

  • Hero Member
  • *****
  • Posts: 964
  • The awesome server admin
    • View Profile
    • ChemicalServers
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #8 on: December 09, 2010, 07:04:43 PM »
Hmm. That could be arranged. :D
Do you have a script or anything that you would like to use? otherwise i would have to make something.

antimatter15

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #9 on: December 10, 2010, 01:56:06 AM »
Anything that hosts files and accepts data in the form of a base64 encoded post parameter. The largest file that probably will ever be uploaded from my app will be ~15MB. Ideally, it's a simple API like

POST filehosting.chemicalservers.com/api.php
name=blahblah.zip
(data) file=asdfoaisjdfklasdjfaskdfj (base64 encoded data)

and returns
filehosting.chemicalservers.com/files/sdaflkadsfjklasdfj which would be a download page where you can add ads and countdowns (though countdowns degrade the user experience, it would be ideal if there weren't countdowns, but since your host has to deal with bandwidth and those costs, I wouldn't object)

Anything with a simple API really.

antimatter15

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #10 on: December 11, 2010, 11:24:53 PM »
Is there any estimated time when it'll be finished for this host? There's no strict time requirement, but I'd like this sooner rather than later (and so do the users :) )

zzbomb

  • Hero Member
  • *****
  • Posts: 964
  • The awesome server admin
    • View Profile
    • ChemicalServers
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #11 on: December 13, 2010, 06:48:06 PM »
This is very possible.
How about this.
Give me a script and ill implement it immediately.. Otherwise i would have to write something myself. And ive been a bit too busy for that recently.
Max size on server is 25.. Although 15 would be more ideal. Ill give this like 10 Gigs to start... And a hundred or so gb in bandwidth.
« Last Edit: December 13, 2010, 06:49:55 PM by zzbomb »

antimatter15

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #12 on: December 13, 2010, 08:26:05 PM »
I guess I could write it.

antimatter15

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #13 on: December 13, 2010, 09:47:14 PM »
It supports base64 encoded file uploading, it's immune to all attacks that I'm currently aware of (though my PHP skills aren't great). Please do a security audit on it because I don't trust my code.

Workflow: POST api.php with file= parameter set as a base64 encoded binary string of file contents. Returns a 7 character random string that is used as the code. That 7 character string is sha1'd and the file is stored as store/sha1(7 char code).bin where store/ is a directory with .htaccess configured to "deny from all".

The client reconstructs the download URL as http://host/path/download.php?fn=this_is_the_filename.txt&code=the_seven_letter_code_from_step_one

When a user goes to the download page, that user is presented with a download link and a ton of ads. The download link is pointing to verified.php?fn=file_name_passed_from_parameters&code=that_same_seven_letter_code&timestamp=time()&sig=sha1($salt. time()) to ensure that the file isn't being reused.

Then it loops through the store/ directory and deletes all files whose filemtime is more than 30 days old.

Once at verified.php, the script first checks that the timestamp is less than 30 minutes old, then the it verifies the timestamp signature, and then it checks that the file store/sha1(code).bin exists. Then it sets the content-type to application/octet-stream, sets the content length, disposition and then prints the file contents with echo and file_get_contents.


I would really appreciate it if anyone here were so kind as to check the source code to make sure that it's good, but I think it should be okay.

https://drag2up.appspot.com/GShB

Updated: http://drag2up.appspot.com/X8si
« Last Edit: December 14, 2010, 03:06:10 PM by antimatter15 »

zzbomb

  • Hero Member
  • *****
  • Posts: 964
  • The awesome server admin
    • View Profile
    • ChemicalServers
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #14 on: December 14, 2010, 03:09:49 PM »
http://files.chemicalservers.com/
Go crazy Antimatter :D
Ill check it all out later and make sure things are working properly. Will likely change style some as well. For now. There it is :D

antimatter15

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #15 on: December 14, 2010, 09:39:48 PM »
I need a logo for this, can you make one?

Pinako

  • Hero Member
  • *****
  • Posts: 1263
    • View Profile
    • inportb
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #16 on: December 14, 2010, 09:48:29 PM »
I'd say superimpose the Android "upload" icon on a "hand" cursor.

antimatter15

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #17 on: December 14, 2010, 09:55:19 PM »
here's my makeshift logo (it needs some proportions and the original one was too wide).

In context:

 
« Last Edit: December 14, 2010, 09:59:23 PM by antimatter15 »

zzbomb

  • Hero Member
  • *****
  • Posts: 964
  • The awesome server admin
    • View Profile
    • ChemicalServers
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #18 on: December 14, 2010, 09:56:49 PM »
Lol plz don't ask me to do graphics. Just stick an arrow on it lol...

Looks fine

zzbomb

  • Hero Member
  • *****
  • Posts: 964
  • The awesome server admin
    • View Profile
    • ChemicalServers
Re: WelfareHost File Hosting!!! (Yep This Too!)
« Reply #19 on: December 14, 2010, 09:58:31 PM »
I plan on making some new logo type things soon.. prolly this weekend I've a whole list to do... gotta fireup gimp.

Ill let you know once I do