securing apache page from browsing

Discussion in 'Apache' started by abemie, Sep 19, 2008.

  1. #1
    Hi friends

    I need an assistant from others.

    Actually i'm trying not to allow the page from browse by the users.

    Example:
    http://www.iface.org.my/spool/

    By default , by enter the URL the page will display the list of user directories. Eg: john
    james
    albert
    khoo

    and etc.

    How do I secure the page and at the same times john can only get his directory. Albert can get his directory and same to others.

    Please advice
    TQ
     
    abemie, Sep 19, 2008 IP
  2. nimhost

    nimhost Active Member

    Messages:
    235
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    make blank index.html file :)
     
    nimhost, Sep 19, 2008 IP
  3. pr0t0n

    pr0t0n Well-Known Member

    Messages:
    243
    Likes Received:
    10
    Best Answers:
    10
    Trophy Points:
    128
    #3
    Put an .htaccess file in that folder, and place this into that file:

    
    Options -Indexes
    
    Code (markup):
     
    pr0t0n, Sep 22, 2008 IP