Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can COM access other servers?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01149756
Message ID:
01151945
Views:
38
>The IUSR_ account has next to no rights, so if you need to access anything on the machine you'll either need to give explict permissions or you need to change the default account.

>For development it's easiest to switch to another account. For production though I'd recommend you use COM+ for your component. COM+ lets you configure the Impersonation for your component so you can override the IUSR_ account. The impersonating account then becomes the account that your server runs under and has the rights you need to access your data files, the registry or whatever Network resources you need access to.

>+++ Rick ---


Yes, that is how we set it up now. We give explicit permissions for the directories and files that our clients' websites are set up in to IUSR. So it sounds like what you're saying is that there isn't an elegant way to access a directory that is located on a different drive on the hosting website server. I know I can write another COM object to run on the second drive and communicate between the two drives that way but it would be so much easier to reference D:\Some_Directory from my COM located in C:\MyCOM.

Also, COM+ sounds good but my knowledge of it is limited. Since I've written a complex COM that moves data back and forth via http (accessing VFP tables at the website), I'm not sure how much code modification would be required to upgrade this to COM+. I will look into this though since it does sound like you have a lot more control. Do you know a good place (i.e. white paper, etc.) to view differences of COM and COM+ ??

Thanks again for your help!
Kevin Scott
kehvn@carolina.rr.com


Hey! It's not my fault. It's some General named Protection!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform