Asked by rwniceing
at 2024-08-26 02:00:17
Point:500 Replies:6 POST_ID:829201USER_ID:12079
Topic:
Linux;;Apache Web Server
Now I would like to open my VPS site to visitor. Before doing that, I need to
set all my directories and files to be read only (including download file from visitors).
And I know if don't put any index.html or inde.php at the directories, it will
show the directories content such as file tress on browser. How to not to read the file trees by visitor.
Is there any existing linux script doing for ALL change the read mode with my user group for all
file and directories and its sub-directoried under my VPS user account directory when visitors visit my site and the script meets the requirement mentioned above ? SO I need to take use
chgrp besides chmod command in the script.
For uploading file from visitors, do I need to set write and read for the uploading directory
in my server, how ?
Please advise
Rwnicewing
set all my directories and files to be read only (including download file from visitors).
And I know if don't put any index.html or inde.php at the directories, it will
show the directories content such as file tress on browser. How to not to read the file trees by visitor.
Is there any existing linux script doing for ALL change the read mode with my user group for all
file and directories and its sub-directoried under my VPS user account directory when visitors visit my site and the script meets the requirement mentioned above ? SO I need to take use
chgrp besides chmod command in the script.
For uploading file from visitors, do I need to set write and read for the uploading directory
in my server, how ?
Please advise
Rwnicewing