Re: Secure a web-accessible upload directory
Newsgroup Poster wrote:
> quite simply you can't as ur on a shared hosting platform.
That depends. If you can run cgi's and the server runs suexec, you
could run your php scripts as cgi. Then you wouldn't need to chmod the
directory 777; 700 would do. Also, you should put the upload directory
outside the web tree, which, again, your web provider may not offer
you.
PHP5 should have some object oriented libraries that may offer a
workaround to this problem. With php4 on a shared hosting, it's nealy
impossible.
You are better off asking a php newsgroup.
Ottavio
|