htaccess allowing access files by extension?

前端 未结 3 653
借酒劲吻你
借酒劲吻你 2021-01-31 19:36

I saw several htaccess example disabling some files to access:


   order deny,allow
   deny from all

3条回答
  •  耶瑟儿~
    2021-01-31 19:56

    You can change file permission to "600", so you can just access it via your script, and it will deny direct access.

    
    

    http://php.net/manual/en/function.chmod.php

提交回复
热议问题