For security, you might wish to turn off the directory browsing capability on your Apache server.
Click - WAMPSERVER icon in Task bar.
1. Open httpd.conf file.
2. Find keyword - "Indexes"
3. Search result.
>
which allows the user to browse the directory structure.
4. to turn directory browsing off, I added a "-" in front of Indexes after Options.
5. Finally restart All wampserver Services.
Now the user receives a "403 forbidden" error when attempting to browse the directory structure.











0 comments:
Post a Comment