Bluehost.com Web Hosting $6.95

permissions - confused

This is a discussion on permissions - confused within the PHP General forums, part of the PHP Programming Forums category; Hi I am using php to upload an image to a directory. It seems that this will only work when ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-26-2003
Matt
 
Posts: n/a
Default permissions - confused

Hi

I am using php to upload an image to a directory. It seems that this will
only work when I allow world write access to the images directory. I have
read that this is not good for security reasons. However - I cannot see a
way round it. By allowing r-w-x for world on the images directory does it
mean that anyone can upload and run files?

My basic file structure is.....

PHP> (password secured directory)
padmin/myphpupload.php

Images> (both images and gallery are set to r-w-x for all)
images/gallery


I am a newbie to this permissions game and am pretty confused. Help needed!

Thanks, Matt


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:51 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0