943,657 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 547
  • PHP RSS
Jul 31st, 2009
0

Authenticate Windows User with PHP

Expand 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.
Similar Threads
Reputation Points: 11
Solved Threads: 12
Junior Poster in Training
sikka_varun is offline Offline
94 posts
since Dec 2008
Aug 1st, 2009
0

Re: Authenticate Windows User with PHP

Any update or information about this problem?
Reputation Points: 11
Solved Threads: 12
Junior Poster in Training
sikka_varun is offline Offline
94 posts
since Dec 2008
Aug 15th, 2009
0

Re: Authenticate Windows User with PHP

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mehrana is offline Offline
1 posts
since Aug 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Display new Record in bold??...
Next Thread in PHP Forum Timeline: RSS feed reader





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC