To clarify, Users will be using their own pc to access to the local machine where the database will be kept.
If Users just typed [
localhost] on their web browser,it will show them the list of php files, however if [localhost/main.php] is entered, the web browser will displayed the list of the php files.
So what i want to do is to block/disable the easyphp index page where files will be shown should the user enter [
localhost].
However the admin will still be able to access to the indexpage if he is using the local machine to make any changes to the database.
(Let me know if my description is not very clear, sorry about it.)