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


.
Reply With Quote