Welcome to WebmasterWorld Guest from 54.167.0.111

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

User Upload Concerns?

Client wants users to be able to upload their own files

     

Revata

4:17 am on Jun 1, 2009 (gmt 0)

5+ Year Member



I'm developing a site for someone who works in multimedia. I've developed a login system where his clients can log in and download files he has uploaded to their dedicated folders. He wants there to be a place on each users respective page where they can upload their own files as well.

I know there are general concerns surrounding this practice and I'd just like to know:

-what to watch out for
-reasons this is a good/bad idea
-file size issues

perhaps it's better just to let his users upload via ftp?

janharders

6:09 am on Jun 1, 2009 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



The files users will upload are not public, right?
Users leave them there for your client to work with?
I don't see any general issues with that.
Make sure users cannot break out of their directory (by passing ?path=../../ and the like).
It's definetly easier that way than to use ftp - users don't need a ftp client (or even know what it is).

file size will be an issue because most servers are configured to allow a certain run time of a script. when the files tend to get big, that limit can be reached and the upload fails.

Revata

6:31 am on Jun 1, 2009 (gmt 0)

5+ Year Member



No the files won't be public. And yes they are just for interaction with the client. I'm using htaccess to keep each user's folder secure. Im not sure if that keeps them from browsing up or not. I know his host will allow uploads of at least 7mb so I've included a check in the uploader to keep the files at that size.

Thanks for your reply janharders, i'll take that into account.

I'm still open to any other advice if anyone else has comments.

piatkow

4:12 pm on Jun 1, 2009 (gmt 0)

WebmasterWorld Senior Member piatkow is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



I can't think of any other technical issues. The big problem is procedural in your client's office. An effective alerting system is needed to notify people that the uploads are there. I know from experience that an office routine to simply go and look will fall by the wayside if there is nothing there for a week or two.