Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IIS 5 in XP prof denies write access to virtual
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00743160
Message ID:
00743307
Views:
19
You need to set file permissions for Read/Write or Full Access for the directory where your files are stored in order for IUSR_ to be able to access them there...

THis is a potential security risk - make sure you put the files away from the Web accessible portion of the machine.

+++ Rick ---

>Thank you Rick,
>I am using XP Prof, IIS 5.1
>
>IUSR_DEVELOPER is my username. I pulled up the Local Security Settings applet and made certain that IUSR_DEVELOPER had the rights to each of the 37 security policies available. I did this just to limit my variables. My com object was not able to WRITE to the folder hanging off of my virtual. I then pulled up the Internet Information Services applet and double clicked on my virtual directory named BABYDELL. Then I clicked on Properties. I clicked on the tab marked Directory Security. I hit the Edit button in the section marked:Anonymous access and authentication control. When I was in the Authentication Methods dialog, which was invoked, I unchecked: Anonymous access. The com object was then able to WRITE a file to a sub folder hanging off of my virtual. BUT now I have progressed to the next problem.
>
>I can read all of my data files but I can't update them or add to them. My browser gives me an error:Invalid class string. Please assist me with this new problem. I am so close to being upgraded to XP. BTW... My data files are in d:\vfp\test\data. I right clicked on the "data" folder and then clicked on the sharing and security... option. The data properties dialog was invoked and I checked the: share this folder on the network checkbox as well as the allow network users to change my files checkbox . I then clicked on the tab: Web Sharing. I clicked on the radio button to: Share this folder. Any thoughts?
>
>Regards,
>Neil
>
>
>
>ire
>>If you're writing to files then you need Write or full access in addition to Read access to those files. If this goes through default security IUSR_ is the accounnt you have to give rights.
>>
>>+++ Rick ---
>>
>>
>>>Hi,
>>>
>>>I migrated to IIS via an upgrade to XP prof. I have a vfp - web app that ran properly on win2k IIS 4. The problem is simple but I don't know how to recitfy it. My asp instantiates a com object that writes a file to a folder hanging off of the virtual. My browser reports a "file access denied" error when the com object attempts to create a file in the sub folder. However, if I modify the com object to create a file in a folder that is not involved with IIS, ie c:\temp, the program runs without an access denial error. How do I modify IIS5 to fix this problem?
>>>
>>>Neil
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform