Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache on Windows - NTFS permissions |
|
Author |
|
flatcircle
Joined: 27 Jun 2006 Posts: 79
|
Posted: Sat 12 Jul '08 14:56 Post subject: Apache on Windows - NTFS permissions |
|
|
Hello,
Seems like a simple quesion, but cant' figure it out.
Because running Apache on Windows has slighty different permissions on files, I'm a bit lost. (NTFS <=> 755,644)
I have created a separate account for running the Apache service. Is it a good idea to give this Apache-account the (NTFS) 'modify' rights to the folder where all my websites are in?
Some webapplications do need write access to specific files/dirs, some not. Because of this complexity (some files read access / some write access,...), I thought it would be faster to give the whole webfolder modify-rights to the Apache-account. Because of this separate Apache-account (no Administrator-rights) on which the webserver runs, I think this will not cause a security breach.
Any advice what's the best practice on this? (modify-rights, write-rights,...)
Regards. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Sat 12 Jul '08 20:27 Post subject: |
|
|
Keep it closed up and open things up as necessary till things work.
Don't forget, Apache writes the pid file to /logs as well as modifies the logs themselves so read/write/modify the /logs for sure. |
|
Back to top |
|
|
|
|
|
|