Re: [PHP] How to secure site?

2003-06-20 Thread Marek Kilimajer
Andrew Afliatunov wrote: Other way - I can turn on safe_mode and include www/lib in safe_mode_include_dir. In this case projects will be able to include scripts from lib, BUT won't be able to create files in cache because scripts and cache have different owners. Go this way, but create a separate

[PHP] How to secure site?

2003-06-19 Thread Andrew Afliatunov
Hello! I have an Apache web-server with PHP-4.3.2 installed. Directory structure of my DocRoot is as follows: www/ docs/ tm/ tts/ cache/ lib/ index.html docs, tm, tts are directories of projects, published through ftp by different people, lib - common directory, containing p