Results 1 to 4 of 4

Thread: How Can I Protect My Private folder on my web server

Hybrid View

  1. #1

    How Can I Protect My Private folder on my web server

    hello everybody.
    i am trying to learn web programming by myself but the more i learn something new, the more amount of question marks popsup around my head. actually i learned something .let me tell you about tools i am using :
    WAMP SERVER (PHP 5.1.6, Apache 2.0.59, MySQL 5.0.24a and phpmyadmin 2.8.2.4.) .of course it is installed at my own computer (localhost).
    the most important problem i have faced is that i cant denay access for some folders .firts of all let me give a simple example. for example i have some folders on my web directory which called forums,myphotos,mytutorials . and there is some subfolders inside my myphotos's folder called mypass and mymembers ,for example. so when i type the path on my browser address bar, (localhost/myphotos/), this page appears
    .

    as you see, everybody can see my subfolders.and i am sure it is not a good for security . right ? so my question is ,how can i denay access to this folder. i mean when people directly type the path on address bar , i want a error message appear and should say ,"access denied to this folder " or something else like a blank page.all what i want is nobody can access this folder and subfolders.but in the other hands , i want to access to a any file inside this folder .for example i wanat to access the file called geeks.html from any other page i link


    finally , english is not my native language ,so please understand my broken english
    i tried my best to explaine it as better as i can .i would be happy if you could help me . thanks in advance
    Last edited by Blue_Geek; 01-26-2007 at 12:31 PM.

  2. #2
    Join Date
    Aug 2006
    Location
    Orlando FL
    Age
    70
    Posts
    1,316
    Let's move this to the Universal Software Forum.....

  3. #3
    Quote Originally Posted by F1 View Post
    Let's move this to the Universal Software Forum.....
    sorry ,it is my fault. so can anybody help me about it ?
    i found something on apache.org .it is talking about a file called .htaccess .does anybody know anything about this ? thanks

  4. #4
    Join Date
    Aug 2006
    Location
    255.255.255.666
    Posts
    2,056
    I do not know but I did PM the person who might so please wait to see if he gets a chance to...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •