admin管理员组文章数量:1024592
I am worried on installing Wp-Minify plugin. But it needs 777 permission for the cache directory located inside wp-uploads directory. Isn't it a security issue?
I am worried on installing Wp-Minify plugin. But it needs 777 permission for the cache directory located inside wp-uploads directory. Isn't it a security issue?
Share Improve this question edited Dec 29, 2012 at 10:45 fuxia♦ 107k39 gold badges255 silver badges459 bronze badges asked Dec 29, 2012 at 9:57 jamesjames 12 Answers
Reset to default 0toscho is right. So you could probably give a try to another plugin. The Better Wordpress Minify.
This one also uses a folder inside the plugin's folder, BUT. You can change the folder and place it elsewhere. Please have a look at Advanced Customization. screenshot http://s.wordpress/extend/plugins/bwp-minify/screenshot-1.gif
We have been using it without a problem.
It doesn’t need 777
. The author recommends it, but you don’t have to follow that. The usual file permissions should be good.
The real problem: the plugin wants to write into its own plugin directory.
var $cache_location = 'wp-content/plugins/wp-minify/cache/';
This is bad. After each update, the whole cache will be gone, and if you don’t allow write access to the plugin directory by default, the plugin will just not work.
And a hard codet wp-content
directory is a rather bold assumption. It should use the constant WP_CONTENT_DIR
, because the real name and path of that directory is configurable.
I am worried on installing Wp-Minify plugin. But it needs 777 permission for the cache directory located inside wp-uploads directory. Isn't it a security issue?
I am worried on installing Wp-Minify plugin. But it needs 777 permission for the cache directory located inside wp-uploads directory. Isn't it a security issue?
Share Improve this question edited Dec 29, 2012 at 10:45 fuxia♦ 107k39 gold badges255 silver badges459 bronze badges asked Dec 29, 2012 at 9:57 jamesjames 12 Answers
Reset to default 0toscho is right. So you could probably give a try to another plugin. The Better Wordpress Minify.
This one also uses a folder inside the plugin's folder, BUT. You can change the folder and place it elsewhere. Please have a look at Advanced Customization. screenshot http://s.wordpress/extend/plugins/bwp-minify/screenshot-1.gif
We have been using it without a problem.
It doesn’t need 777
. The author recommends it, but you don’t have to follow that. The usual file permissions should be good.
The real problem: the plugin wants to write into its own plugin directory.
var $cache_location = 'wp-content/plugins/wp-minify/cache/';
This is bad. After each update, the whole cache will be gone, and if you don’t allow write access to the plugin directory by default, the plugin will just not work.
And a hard codet wp-content
directory is a rather bold assumption. It should use the constant WP_CONTENT_DIR
, because the real name and path of that directory is configurable.
本文标签: securityFile permissions for wpminify plugin
版权声明:本文标题:security - File permissions for wp-minify plugin 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745621433a2159596.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论