admin管理员组

文章数量:1122826

This question would appear similar to Deny php execution in /wp-includes - using .htaccess in /wp-includes VS root folder - but is different in that that question asserts the questioner has already determined they want to deny access.

I'm trying to clamp down on "drive by hacking" on my generic wordpress hosting server - ie I don't control what plugins can be run. (I noticed a site I am very familiar with getting slammed, and discovered it was something dodgy looking at files in this directory - and I thus know this useage was not legitimate). I can easily whip something up to block php access to this directory - and my looking at the server logs would imply this is likely a good idea - but are there any gotchas I need to be aware of, or legitimate reasons why php files might be called from the web browser for anything which is under the wp-includes directory?

本文标签: hackedAre there any legitimate reasons for a web browser to directly access wpincludes*php