Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i have Apache Web server and my own CMS into server. i dont want show to all my folder files list and i want set permission to hide my files like this alert

403 Forbidden

You don't have permission to access /admin/ on this server.

i know how i can give permission to folder with security but, i dont know wich permission is for this and wich user must deny this permission. if anybody knows please help me. thanks and sorry for my ugly english :D

share|improve this question

migrated from stackoverflow.com Sep 22 '12 at 17:46

This question came from our site for professional and enthusiast programmers.

1 Answer 1

You should do that with a .htaccess file.. make a .htaccess file with a unix based editor like Notepad++ and copy the following in it. and save tha file in any folder you want!

deny from all
share|improve this answer
    
thanks it realy works –  Dest Sep 22 '12 at 16:23
    
You're welcome.. So please accept the answer so people will know that it has worked..! thx –  Miro Markarian Sep 22 '12 at 16:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.