Hi, I am new to this, so probably a 'stupid' question:
My website is on a shared server.
I want to create a directory where I can put .jpg files from:
1. my ftp connection
2. a piped email
3. a webpage (php)
When I have the webpage create the dir I can give it a chmod 0755 and still upload jpgs there,
but the piped mail cannot create files there.
And the other way around too.
The only way I can make this happen is by creating a dir through ftp with rights set to 777
And I am afraid that is not a very safe option as hackers could put and run executables there.
Am I doing something wrong, is there a way around or is there nothing to worry about?
My website is on a shared server.
I want to create a directory where I can put .jpg files from:
1. my ftp connection
2. a piped email
3. a webpage (php)
When I have the webpage create the dir I can give it a chmod 0755 and still upload jpgs there,
but the piped mail cannot create files there.
And the other way around too.
The only way I can make this happen is by creating a dir through ftp with rights set to 777
And I am afraid that is not a very safe option as hackers could put and run executables there.
Am I doing something wrong, is there a way around or is there nothing to worry about?