-2

I have a web server( CENTOS 7 ) with some virtual hosts. I want to let some users upload their own files in their own www folders.

It means for each [apache] user they have their own folder. For example user1 should have access to /www/user1 and for user2 access only to /www/user2.

So the question is, how should I prevent user1 being able to browse to user2's folder, and the same thing for to user2! and also no problems happen for [apache] and [php-fpm] !

4

1 に答える 1

0

Web サーバーは Windows または Linux で実行されていますか? Windows の場合、filezilla サーバーを試しますか? その簡単でうまく動作します。プロの使用(レンタルWebスペースなど)にはお勧めしません

于 2016-02-25T07:43:23.487 に答える