DoorsRent Posted April 2, 2009 Share Posted April 2, 2009 I've searched around and haven't found much. Probably because I'm not sure what to even search for. Here's what I want to do: Have a program to upload files to my ftp site (godaddy) as a backup for my computer. I was thinking a web interface (php) would be the best. My concern is with security. How can I secure the ftp site? My first step would be to just not put anything real sensitive in the repository in the first place. I currently use curl to upload files and have the ssl option enabled. So I think the upload part is secure. Can someone point me in the right direction for securely uploading, storing and downloading files using php and a shared hosting account? Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/152262-creating-a-secure-file-repository/ Share on other sites More sharing options...
ober Posted April 2, 2009 Share Posted April 2, 2009 http://www.getdropbox.com/ That's only 2Gb (right now) but it would get you the same thing. There are other options out there as well. I would never backup my computer files on a shared server. Quote Link to comment https://forums.phpfreaks.com/topic/152262-creating-a-secure-file-repository/#findComment-799576 Share on other sites More sharing options...
DoorsRent Posted April 2, 2009 Author Share Posted April 2, 2009 http://www.getdropbox.com/ That's only 2Gb (right now) but it would get you the same thing. There are other options out there as well. I would never backup my computer files on a shared server. What if I didn't need anything real secure? What I mean is, I have about 600 GB of pics and vid I want to backup. If someone managed to get in and steal my vacation pictures it wouldn't be the end of the world. Are you saying I always be pretty much wide open to hackers? In which case I'll look into something else. Quote Link to comment https://forums.phpfreaks.com/topic/152262-creating-a-secure-file-repository/#findComment-799604 Share on other sites More sharing options...
ober Posted April 2, 2009 Share Posted April 2, 2009 I'm not saying you'd always be open to that. But I personally wouldn't trust my shared hosting with my personal files. Besides, is Godaddy really going to let you store more than 1/2 TB of data on a shared account? (by the way I'm assuming you have a shared account... you may have a VPS or dedicated... I have no idea). Quote Link to comment https://forums.phpfreaks.com/topic/152262-creating-a-secure-file-repository/#findComment-799605 Share on other sites More sharing options...
DoorsRent Posted April 2, 2009 Author Share Posted April 2, 2009 Ya, I have a shared hosting plan. Godaddy will let me store it if i upgrade to their unlimited plan...only $15 a month too. Unlimited space (subject to availability) and bandwidth. I was hoping to make it so i can easily transfer full quality pics and vid among family members too. Maybe I'll just do that and not actually store the files on the server...at least permanently. Quote Link to comment https://forums.phpfreaks.com/topic/152262-creating-a-secure-file-repository/#findComment-799611 Share on other sites More sharing options...
FaT3oYCG Posted April 2, 2009 Share Posted April 2, 2009 it would save you time and money eventually to simply buy an external hard drive and store your files Quote Link to comment https://forums.phpfreaks.com/topic/152262-creating-a-secure-file-repository/#findComment-799634 Share on other sites More sharing options...
DoorsRent Posted April 2, 2009 Author Share Posted April 2, 2009 it would save you time and money eventually to simply buy an external hard drive and store your files I've thought about that (and used to do that). But I want something more secure. For example, a hard drive will be stolen with my pc if someone ransacks my house. Plus, if I was able to do what I'm trying, I'll be able to access my files from any computer. Quote Link to comment https://forums.phpfreaks.com/topic/152262-creating-a-secure-file-repository/#findComment-799653 Share on other sites More sharing options...
PHP Monkeh Posted April 2, 2009 Share Posted April 2, 2009 How is that any less secure than something which is on the Internet (on some server you don't even have physical access to). FTP would be a fine solution, but transfer speeds would be rather slow I'd imagine, plus you'd have to set up some form of authorization to access the files. Plus shared hosting isn't meant to be used as a backup solution, I don't think godaddy would be happy with you throttling their "unlimited" space with 600GB of files. I'd consider looking in to something more specialised if it's that important to you, and be willing to fork out a bit more than $15 a month for security. Quote Link to comment https://forums.phpfreaks.com/topic/152262-creating-a-secure-file-repository/#findComment-799713 Share on other sites More sharing options...
DoorsRent Posted April 2, 2009 Author Share Posted April 2, 2009 How is that any less secure than something which is on the Internet (on some server you don't even have physical access to). FTP would be a fine solution, but transfer speeds would be rather slow I'd imagine, plus you'd have to set up some form of authorization to access the files. Plus shared hosting isn't meant to be used as a backup solution, I don't think godaddy would be happy with you throttling their "unlimited" space with 600GB of files. I'd consider looking in to something more specialised if it's that important to you, and be willing to fork out a bit more than $15 a month for security. When I said "secure" I was talking more in the way of making sure I don't ever lose the files. Quote Link to comment https://forums.phpfreaks.com/topic/152262-creating-a-secure-file-repository/#findComment-799716 Share on other sites More sharing options...
charleshill Posted April 2, 2009 Share Posted April 2, 2009 I would get an external flash drive. You can get 1 TB one for about $100 these days. They are more secure than other data storage devices in that it's harder to damage or corrupt the data. Plus their data transfer rates are fairly decent from computer to device. You'll be saving yourself time and money in the long term, also. Quote Link to comment https://forums.phpfreaks.com/topic/152262-creating-a-secure-file-repository/#findComment-799759 Share on other sites More sharing options...
MadTechie Posted April 2, 2009 Share Posted April 2, 2009 1st, My first thought is how long is it going to take to upload 600gb at (whats your upload speed) ? 2nd, The quicker & cheaper option is to create two backups and give one to a family member for safe keeping.. and update go to your external then after a week or so swap drive and re-sync their old one, if you like pay them $5 per month for the hassle! 3rd, it sounds like you need an acrhive position more than a backup.. are you really updating 600gb of photos ? 4th, this is nothing to do with PHP.. Quote Link to comment https://forums.phpfreaks.com/topic/152262-creating-a-secure-file-repository/#findComment-799770 Share on other sites More sharing options...
DoorsRent Posted April 2, 2009 Author Share Posted April 2, 2009 1st, My first thought is how long is it going to take to upload 600gb at (whats your upload speed) ? I know it will take a while. Probably a few months to create the initial backup. 2nd, The quicker & cheaper option is to create two backups and give one to a family member for safe keeping.. and update go to your external then after a week or so swap drive and re-sync their old one, if you like pay them $5 per month for the hassle! But that's no fun. I want an automated backup. And to be able to access form any computer. I have a very rough version of this working already, but it's hardly secure at all. It helps out a lot when going from laptop to pc multiple times a day too. So it's not only a backup, but a data transfer system. 3rd, it sounds like you need an acrhive position more than a backup.. are you really updating 600gb of photos ? Yes, my current backup solution has 615GB and another 100 or so pending. I don't know what you mean by "archive position". 4th, this is nothing to do with PHP.. Please refer to my first post. I want to do this all with php. I want a web interface to access the files and such. Oh well, it looks like there isn't a good way to keep it secure. I don't mind a lot of coding work. But if it's not really practical then I'll stick with my current backup method (which doesn't allow file sharing). I appreciate all the input everyone. If anyone else has any ideas, let me know! Quote Link to comment https://forums.phpfreaks.com/topic/152262-creating-a-secure-file-repository/#findComment-799821 Share on other sites More sharing options...
MadTechie Posted April 2, 2009 Share Posted April 2, 2009 Archive = keep copy of for "maybe" use later (think of it as a backup to DVDs you can't edit them directly but you still have the data) Backup = keep copy of all my current work that i need live at all time. Can you create a backup well you can..but theirs better solutions that having PHP do it all.. for example you can get software to map a *sftp to your pc with this drive letter mapped you treat it like a drive.. any file sync software will work.. If you want yo create your own filesync software.. you can do but it won't be as fast as the compiled versions (sftp = secure file transfer protocal) Quote Link to comment https://forums.phpfreaks.com/topic/152262-creating-a-secure-file-repository/#findComment-799835 Share on other sites More sharing options...
pugboy Posted April 2, 2009 Share Posted April 2, 2009 Like others have recommended, an external HDD is the way to go: http://www.google.com/products?q=1TB+external+hard+drive http://www.google.com/products?q=fireproof+safe The safe is for the HDD to go in-- that way, it is safe from fires, theft, etc. Quote Link to comment https://forums.phpfreaks.com/topic/152262-creating-a-secure-file-repository/#findComment-799902 Share on other sites More sharing options...
redarrow Posted April 2, 2009 Share Posted April 2, 2009 get a dog. get a house alarm. get a huge girlfriend/boyfriend. then consider blu raid burning , you will never get a host to allow 600gb of photos on there server. you got godaddy get a host i say. forget the internet way, it better getting a hard drive and keep it strapped to your waist. Quote Link to comment https://forums.phpfreaks.com/topic/152262-creating-a-secure-file-repository/#findComment-799911 Share on other sites More sharing options...
DoorsRent Posted April 2, 2009 Author Share Posted April 2, 2009 get a dog. get a house alarm. get a huge girlfriend/boyfriend. then consider blu raid burning , you will never get a host to allow 600gb of photos on there server. you got godaddy get a host i say. forget the internet way, it better getting a hard drive and keep it strapped to your waist. Haha, thanks. Maybe I'll buy a few TB hard drives then mail them off to separate relatives. I'm not a freak about backups, but I've lost lots of pictures before due to malfunctioning hard drives and it's very annoying. Quote Link to comment https://forums.phpfreaks.com/topic/152262-creating-a-secure-file-repository/#findComment-799913 Share on other sites More sharing options...
redarrow Posted April 2, 2009 Share Posted April 2, 2009 We all agree mate, if there was a internet solution worth while then where tell ya. they say in the computer world, make a backup of a backup and then backup that lol. Quote Link to comment https://forums.phpfreaks.com/topic/152262-creating-a-secure-file-repository/#findComment-799915 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.