tun001757 wrote:Can anyone tell me how to set one directory (confidential files located) to permission like 711 in httpd.conf?
You cannot set file permissions in httpd.conf - these file permissions are permissions of the Operating System and Apache cannot influence the Operating System.
tun001757 wrote:Since this time I am running in Window environment, I am not able to set permission like 711, 755 or 644 easily.
Right - this is additionally a problem for Windows System, as permissions like 755 etc. are linux related, they dont exist under Windows. But as said before, you cannot set file permissions in httpd.conf anyway (even not on Linux systems).
tun001757 wrote:Or just set Options -Indexes in httpd.conf safe enought?
No, of course not. If you want to protect the files from being accessed via Apache, you have to use the Apache Configuration "Allow From ..." and "Deny From ....", eventually in conjunction with "Basic Authentication" (protect directorys via userid and password).
There is one question left: if you have certain files / folders, which you want to protect from outer access - why do you put these files under the htdocs (DocumentRoot) folder? If you put them somewhere else, they cannot be accessed in any way.