我想通过在 httpd.conf 文件中使用“Allowoverride FileInfo”来了解安全问题,它允许 htaccess 文件(我的 htaccess 文件只进行在 zend2 中定义的重定向)。我正在为我的项目使用 zend 框架 2.x(就像一些购物车网站一样)。
I have researched and I got the following information.
1. Better to place "Allowoverride FileInfo" inside "Directory" directive for better performance.
2. Use "AccessFileName .config" instead of allowing .htaccess we can use .config, which might help some way security.
3. Just copiying the htaccess code to httpd.conf file(for which there is no security risk, as "Allowoverride None" is used).
但没有关于安全问题,这是主要问题。
Could somebody help me with information if .htaccess file is used.
1. What are the security measures I have to take care ?.
2. Is there a chance of intrusion?.
谢谢,迪利普。