|
Home > Archive > IIS Server Security > January 2006 > I need less IIS security to fwrite via PHP
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
I need less IIS security to fwrite via PHP
|
|
| ctrygstad 2006-01-19, 5:11 pm |
| I get denied access, where can I allow php to write files?
I get error messages when I try to fwrite, and I checked my php.ini file, there is a specific line to grant access to fwrite and fopen, does anyone know anything about this? | |
| Christian Paparelli 2006-01-19, 8:49 pm |
| "ctrygstad" <ctrygstad.21wod4@mail.webservertalk.com> ha scritto nel
messaggio news:ctrygstad.21wod4@mail.webservertalk.com...
Hi
> I get denied access, where can I allow php to write files?
>
> I get error messages when I try to fwrite, and I checked my php.ini
> file, there is a specific line to grant access to fwrite and fopen,
> does anyone know anything about this?
iusr_yourservername user has ntfs write permission?
--
Christian Paparelli
http://www.ithost.ch
| |
| ctrygstad 2006-01-20, 11:41 am |
| How do I check that? | |
|
| On Fri, 20 Jan 2006 11:41:46 -0600, ctrygstad
<ctrygstad.21yj11@mail.webservertalk.com> wrote:
>
>How do I check that?
go to whatever folder you are trying to write to in Explorer. Right
click, look at the Security tab (Advanced). Look to see if IUSR_* has
the ability to write files, etc.
| |
| David Wang [Msft] 2006-01-22, 6:10 pm |
| FYI: the implicit assumption here is that your php files are run using
anonymous authentication and that the default value has not been changed.
In general, you need to allow the remote authenticated user read/write
access. The blog entry has the explanation:
http://blogs.msdn.com/david.wang/ar...o_Run_Code.aspx
PHP configuration merely allows fwrite() and fopen() to be invoked within
PHP; the user identity running php also needs to have corresponding
privilege to read/write to Windows or else the fwrite() and fopen() calls
still fail.
--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Bob" <uctraing@ultranet.com> wrote in message
news:7n53t1dbglns7tn34drcrk73gbeba51ml6@
4ax.com...
> On Fri, 20 Jan 2006 11:41:46 -0600, ctrygstad
> <ctrygstad.21yj11@mail.webservertalk.com> wrote:
>
>
> go to whatever folder you are trying to write to in Explorer. Right
> click, look at the Security tab (Advanced). Look to see if IUSR_* has
> the ability to write files, etc.
>
>
|
|
|
|
|