You can do what Ibrahim mentioned. Another way is to move all those php files outside of the Apache directory root, and include them programatically.
On Mon, Sep 28, 2009 at 10:21 AM, Ibrahim Yakti <[email protected]> wrote: > you can configure your apache to disable directory listing > this link would help: > http://felipecruz.com/blog_disable-directory-listing-browsing-apache.php > > > > On Mon, Sep 28, 2009 at 10:04 AM, Mahmoud Alnaanah <[email protected]>wrote: > >> how to protect a folder which contains included php code or setting for my >> database from being browsed by the user. >> >> >> >> > > > > -- Al-Faisal El-Dajani 10/6 --~--~---------~--~----~------------~-------~--~----~ ### Jordan Linux Users Group ### http://Jolug.org/ http://groups.google.com/group/Jolug ### Ubuntu Jordan LoCo Team ### https://wiki.ubuntu.com/JordanTeam http://lists.ubuntu.com/ubuntu-jo ### Ojuba Linux ### http://ojuba.org/ ### Jordan PHP ### http://groups.google.com/group/JoPHP -~----------~----~----~----~------~----~------~--~---

