InterviewSolution
| 1. |
Solve : Setting Up a File Hosting Server? |
|
Answer» I am looking to set up a server where users will fill out a form, attach a file, and click SUBMIT. The file would then be saved to my server and would also be remotely accessible. Any help is appreciated. More details please. What service do you have? Do you know low to deploy PHP scripts? Do you understand Pearl? Is this some kind of blog? is it a forum? ... When the server serves data in a commonly used manner, for example according to the HTTP or FTP protocols, users may have their choice of a number of client programs (most modern web browsers can request and RECEIVE data using both of those protocols). In the case of more specialized applications, programmers may write their own server, client, and communications protocol, that can only be used with one another. ...Fort example, WORDPRESS can be used for a personal server free of charge. It is one of the most popular content tools available. That would be fairly easy to do with something like PHP. You do however need to be extremely careful - Set file permissions or LIMIT types carefully so that the user can't upload a script (such as a .php file) and then execute it on your server. You also need to watch out for legal issues as well as large files using bandwidth. If this is for private users then you are best using a premade system like OwnCloud - http://owncloud.org/. If you want to put it public then bear in mind that there are already loads of sites that do this so you would really need something to differentiate you. Remember that bandwidth is expensive so just creating a free site for people to share files is going to be tricky if you want to keep it economically viable.Quote from: Geek-9pm on January 22, 2014, 11:29:02 PM More details please. What service do you have? Do you know low to deploy PHP scripts? Do you understand Pearl? Is this some kind of blog? is it a forum? I am starting out and was planning on using ubuntu. The service is so that users can upload a file and certain users can log in and access all of the files.Quote from: camerongray on January 23, 2014, 07:33:53 AM That would be fairly easy to do with something like PHP. You do however need to be extremely careful - Set file permissions or limit types carefully so that the user can't upload a script (such as a .php file) and then execute it on your server. You also need to watch out for legal issues as well as large files using bandwidth. It is for private users. We have one document we need users to upload. We need the staff to be able to see all of the files, but not regular users.I imagine OwnCloud can do all of that.Whatever happened to good old ftp or sftp. |
|