Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM object cannot find my data
Message
From
07/08/2000 15:55:15
 
 
To
07/08/2000 15:49:25
George Simon
GS Data Technologies, LLC
Cincinnati, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00401883
Message ID:
00401903
Views:
23
>Thanks Ed,
>
>One other question... I originally developed this app using Web Connection and did not have a problem locating the data. Is this because the I launched the WC app while I was logged in as the 'Administrator' user and it is not running inside IIS's process? (If my question indicates a poor understanding of IIS administration maybe you could suggest a good book or resource.)
>

Yep - the odds are that the Administrator account had privileges to the remote shares, and may even have had default drive mappings established. Even if running in IIS, if IIS can impersonate Administrator successfully, it has the access rights of the Administrator account.

Rick Strahl's book from hentzenwerke is probably the best source on the subject at the moment from a VFP standpoint.

>>make an explicit connection to the UNC using WNetAddConnection2() or >WNetAddConnection3(), which allow you to specify a userid and password for the >connection - it's unlikely that the IUSR_machinename account has privileges on >another machine or in a domain unless you've explicitly taken steps to >establish such accounts. IUSR_machinename is a local account, not a domain >account, and won't have domain privileges or corresponding accounts on other >peer stations.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform