Asked by duncanb7
at 2024-12-08 09:24:50
Point:500 Replies:12 POST_ID:828439USER_ID:11059
Topic:
PHP Scripting Language;Hypertext Markup Language (HTML);Linux Network Security
One day, when I test my www.mywebsite.com, and try to do something for index.html tutorial, for example,
I delete or rename any file about index such index.html and index.php and then go to web my webiste page
under no index.html or index.php condition.
I fould my site home page without any index file so IE will display my whole directory information as follows
with "Index of /" heading. So I suspect, other people is easy to read my directory information and read
anything in my directory
So my question is 2
Question-1, where is the directory infromation stored in Linux server directory and Could I chmod by 700 so that
others could not read dir information when no any index file is existed in my public_html directory ?
Question-2 where is the directory infromation stored in Linux server directy and Could I chmod by 700 so that
others could not read dir information when index file is already existed in my public_html directory ?
Please advise
Duncan
I delete or rename any file about index such index.html and index.php and then go to web my webiste page
under no index.html or index.php condition.
I fould my site home page without any index file so IE will display my whole directory information as follows
with "Index of /" heading. So I suspect, other people is easy to read my directory information and read
anything in my directory
So my question is 2
Question-1, where is the directory infromation stored in Linux server directory and Could I chmod by 700 so that
others could not read dir information when no any index file is existed in my public_html directory ?
Question-2 where is the directory infromation stored in Linux server directy and Could I chmod by 700 so that
others could not read dir information when index file is already existed in my public_html directory ?
Please advise
Duncan