Re: file and folder permissions
A poorly written upload script or file permissions could allow someone else to take over your server. Sound bad?
Originally Posted by a2j
You probably want to use someone else's, mildly popular, upload script if you insist on doing this with PHP over the web. Perhaps running a well used CMS like Drupal or Joomla would be a better choice? Regardless, check for updates a few times every week and install them so your box isn't owned.
If you will be the only person uploading image files, consider using rsync over ssh to push the files from your non-internet machine - perhaps automatically every day using ssh-key authentication to your host?
There are probably thousands of ways to accomplish what you want, but only 10 ways to do it securely.
-- I approved this message.
Linux User since 1993. Loving Linux since 1996.
When you find the solution, please come back to this thread, explain the solution, and mark it SOLVED to help the next guy.