Authenticate Windows User with PHP

Reply

Join Date: Dec 2008
Posts: 94
Reputation: sikka_varun is an unknown quantity at this point 
Solved Threads: 11
sikka_varun's Avatar
sikka_varun sikka_varun is offline Offline
Junior Poster in Training

Authenticate Windows User with PHP

 
0
  #1
Jul 31st, 2009
Hi,

I have a requirement where i have a windows server with IIS and PHP 5. My PHP script creates a file and windows OS is not allowing me to create a file using fopen function. It gives Permission Denied error.

Can anyone give an idea where i can internally authenticate the user (may be ftp user) and the file is created. I dont want to give the anonymous (777 Type) access to that folder where the file is created.

I read a couple of articles as well where HTTP Authentication was mentioned. But this method gives a pop up box. Preferably, i dont want this type of solution as my script generates the file internally without any user intervention.
VâRûN
---Happy to Help---
sikka_varun@yahoo.com
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 94
Reputation: sikka_varun is an unknown quantity at this point 
Solved Threads: 11
sikka_varun's Avatar
sikka_varun sikka_varun is offline Offline
Junior Poster in Training

Re: Authenticate Windows User with PHP

 
0
  #2
Aug 1st, 2009
Any update or information about this problem?
VâRûN
---Happy to Help---
sikka_varun@yahoo.com
Reply With Quote Quick reply to this message  
Join Date: Aug 2009
Posts: 1
Reputation: mehrana is an unknown quantity at this point 
Solved Threads: 0
mehrana mehrana is offline Offline
Newbie Poster

Re: Authenticate Windows User with PHP

 
0
  #3
Aug 15th, 2009
Originally Posted by sikka_varun View Post
Hi,

I have a requirement where i have a windows server with IIS and PHP 5. My PHP script creates a file and windows OS is not allowing me to create a file using fopen function. It gives Permission Denied error.

Can anyone give an idea where i can internally authenticate the user (may be ftp user) and the file is created. I dont want to give the anonymous (777 Type) access to that folder where the file is created.

I read a couple of articles as well where HTTP Authentication was mentioned. But this method gives a pop up box. Preferably, i dont want this type of solution as my script generates the file internally without any user intervention.

Hi,
You have to ad write permission or full to IIS user on security tab by getting folder properties.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC