check if your hosting allow htaccess override, then set rules for that
folder using htaccess.

On Mon, Sep 28, 2009 at 2:00 PM, Mahmoud Alnaanah <[email protected]>wrote:

> I am using a free web hosting acount  in 000page.com .
>
> I tried to change the permission of the include folder to 700 but the
> folder still browsable.
>
> I tried put the include folder in the root folder beside htdoc folder
> (which is the root of the site) but the include does not work.
>
> any help
>
>
> 2009/9/28 Al-Faisal El-Dajani <[email protected]>
>
> 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
-~----------~----~----~----~------~----~------~--~---

رد على