hi, help me my site is not secure.

Discussion in 'Security' started by brucelee, Dec 1, 2007.

  1. #1
    one suggestion please
    problem is :- if someone type my url address in browser like "something.com"
    site gets open.
    but as someone type "something.com/image"
    that particluar folder opens,
    i want to prevent this so that no one can see my data on server.
    please help me.
    waiting.....................
     
    brucelee, Dec 1, 2007 IP
  2. j0ned

    j0ned Active Member

    Messages:
    684
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Just put an empty index.htm file into the directory in question, or disable directory listings in your web-server. What OS/HTTP daemon does your service provider use?
     
    j0ned, Dec 1, 2007 IP
  3. hostingonweb

    hostingonweb Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Other option is you can create a .htaccess file under your image directory and add this "Options -Indexes" and save it. This will give a forbidden 404 error.
     
    hostingonweb, Dec 2, 2007 IP
  4. brucelee

    brucelee Active Member

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    88
    #4
    thank you very much for your suggestion
    master
    brucelee
     
    brucelee, Dec 2, 2007 IP
  5. brucelee

    brucelee Active Member

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    88
    #5
    thank you very much for your suggestions it is working well
    master
    brucelee
     
    brucelee, Dec 2, 2007 IP