We help IT Professionals succeed at work.

Permissions on Apache Localhost

jezella
jezella asked
on
393 Views
Last Modified: 2013-12-13
Hullo all.  My operating system is windows xp where I have installed a fully working Apache server for use with php.  The problem is I do not know how to setup permissions for files I create on D:\htdoc\fileuploadtrial\

Ideas would be most appreciated

Thanks

AJ
Comment
Watch Question

Top Expert 2007
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Oops, this has really confused me. To be safe, should I have set Apache up under a different user name. Ie. Not as admin?
Joe WuDeveloper | Solutions Architect | CTO
CERTIFIED EXPERT

Commented:
Are you wanting to CHMOD the local files?
Top Expert 2007

Commented:
Which user you want to use depends on your security needs. For development the default permissions should be ok, For production you should consider using a separate user for apache and let him only read the php-file and assign directories where he can write to.

Author

Commented:
This is not for production, only a local testing server to aid me in learning php.  I do not however wish to compromise the security of the desktop but I do want to be able to filly test my scripts if possible.  
Top Expert 2007

Commented:
In this case using the predefined account is ok.

Author

Commented:
I think that I have the problems solved and so as not to waste people's time, I'll close here.

Many thanks.

AJ
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.