Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
protect direct access to php files using mod rewrite
#3
herb Wrote:How about a constant set early in index.php, then have every other file check for constant before execution?
We’re doing that already. PHP files that should not be accessed directly but only through an include will die() before executing anything. But yojoe wants to make the server block those files in a way so no PHP needs to run at all.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply


Messages In This Thread
protect direct access to php files using mod rewrite - by Zegnåt - 2010-11-21, 06:45:48



Users browsing this thread: 1 Guest(s)