daryn
asked on
vsftp problem with user escaping directory
Hi there.
I've setup a user on a slackware box with VS FTP running on it.
This user has his regular home directory but in that home directory is a symbolic link that takes a user to /var/www/html/test/testdir
(I know it's not terribly secure but i cant avoid it for now)
The problem being that this user can "cd .." and get to /var/www/html/test . "cd .." again and he gets to /var/www/html.
This is somewhat worrying.
How can I prevent a user escaping his root directory structure and going above it?
ta
Daryn
I've setup a user on a slackware box with VS FTP running on it.
This user has his regular home directory but in that home directory is a symbolic link that takes a user to /var/www/html/test/testdir
(I know it's not terribly secure but i cant avoid it for now)
The problem being that this user can "cd .." and get to /var/www/html/test . "cd .." again and he gets to /var/www/html.
This is somewhat worrying.
How can I prevent a user escaping his root directory structure and going above it?
ta
Daryn
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER