I need less IIS security to fwrite via PHP
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > I need less IIS security to fwrite via PHP




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

ctrygstad is offline     I need less IIS security to fwrite via PHP  
ctrygstad


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for ctrygstad Click here to Send ctrygstad a Private Message Find more posts by ctrygstad Add ctrygstad to your buddy list
 
01-19-06 10: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, th
ere is a specific line to grant access to fwrite and fopen, does anyone know
 anything about this?




[ Post a follow-up to this message ]



    Re: I need less IIS security to fwrite via PHP  
Christian Paparelli


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-20-06 01:49 AM

"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






[ Post a follow-up to this message ]



ctrygstad is offline     Re: Re: I need less IIS security to fwrite via PHP  
ctrygstad


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for ctrygstad Click here to Send ctrygstad a Private Message Find more posts by ctrygstad Add ctrygstad to your buddy list
 
01-20-06 04:41 PM

How do I check that?




[ Post a follow-up to this message ]



    Re: I need less IIS security to fwrite via PHP  
Bob


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-21-06 01:49 AM

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.







[ Post a follow-up to this message ]



    Re: I need less IIS security to fwrite via PHP  
David Wang [Msft]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-22-06 11: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...de.
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.
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:51 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register