Some core function as plugins #33
Replies: 1 comment 1 reply
|
I love that htaccess manager because it personally saves me some extra work on a couple of sites after updating, but I'll admit I'm not happy with having that kind of potential vulnerability in the CMS (although I've reinforced it for the next version). Debating with myself here: either I keep htaccess manager and users accept that it's a risky sort of feature, or I remove it and they accept that they will need to re-add whatever rules they need upon each update. For what it's worth, most WordPress htaccess editors I've seen (Yoast's file editor, dedicated htaccess-editor plugins) write whatever you paste with zero content validation (no denylist, no rollback if it breaks the site). Mine blocks handler hijacking, php_admin_*, security-header stripping, and mod_rewrite's proxy flag, and auto-reverts the file if a save makes the site give a 500 error. One thing is for sure, if I roll back on this feature I'm removing it entirely, not making it a plugin. |
Uh oh!
There was an error while loading. Please reload this page.
Hi
I have the idea that it could be a chance to move some today core functions into separate plugins.
Both mentioned are changing files on the server, in case of htaccess also server config. I know htaccess Manager was my idea, but up to now a compromised admin meant content and php, but not server conf. With the htaccess manager anyone could compromise the webservers/webinstances config through htaccess.
All reactions