Is there a way when a user registers it also creates them a folder which is chmoded to 777?
Help
Started by Whitey, Jun 06 2008 12:13 PM
7 replies to this topic
#1
Posted 06 June 2008 - 12:13 PM
|
|
|
#2
Posted 06 June 2008 - 12:22 PM
friend gave me the function name
mkdir()
thanks solved
mkdir()
thanks solved
#3
Posted 06 June 2008 - 12:34 PM
There is almost no reason the folder needs to be 777. To be safe, make it 755.
#4
Posted 06 June 2008 - 02:12 PM
its image upload script.. Where people have their own folders.. so it really doesn't matter
#5
Posted 06 June 2008 - 03:40 PM
Whitey said:
its image upload script.. Where people have their own folders.. so it really doesn't matter
Don't be so naive. That is one of the stupidest things I've heard.
#6
Posted 06 June 2008 - 05:50 PM
#7
Posted 06 June 2008 - 07:04 PM
May i ask how so? sorry for being naive
#8
Posted 06 June 2008 - 07:19 PM
mod 777 gives read-write-and execute permissions to the entire contents of the directory. If a user spoofs your image validation, or if you have a local file inclusion vulnerability on your server a hacker can execute shell scripts or install a php shell.


Sign In
Create Account


Back to top









