Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Impersonation / identity question about IIS6 / WK2003
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
01009578
Message ID:
01009598
Vues:
16
Claude,
Can I put VFPOLEDB.DLL into a COM+ application so it impersonates an identity that I specify? All of my problems IIS/ASP problems lately have been with this.

Some things remain very confusing. For example, on IIS6, if I configure my ASP app to run in an application pool to which I have given the identity of localsystem, the legacy ODBC driver works fine. It seems to be assuming the identity of localsystem. However, the vfp oledb provider (vfpoledb.dll) does not. It still insists on running under the IUSR identity even though it _should_ be running as localsystem. This is what I don't understand.

>For IIS6, it runs under the NETWORK_SERVICE account. If you want to run under a spedific account, I would recommend putting your vfp mtdll in a COM+ application which allows it to impersonate another user account and is very simple to setup...
>>How can one determine and/or control the identity under which an in-process or an out-of-process module runs when invoked by IIS6 using Active Server Pages. Here, "module" means something like a DLL or COM server. The term "Identity" here means, for example, "LocalSystem", "IUSR_MachineName", "Administrator", etc.
>>
>>My understanding is this: WIth IIS6 (Windows server 2003) you can define an "Application Pool" to which you can assign a web site, and in doing so explicity specify an identity under which the pool's threads run, correct? This means that with Active Server Pages, your ASP scripts and invoked DLL's are supposed to to run under the identity of the application pool to which the site is assigned. Thus you can control "who is who", and not run into permission errors when, for example, your VFP ODBC driver tries to access a VFP table from within ASP. In my experience, the VFP ODBC driver seem to work this way with IIS 6. However, I have discovered that the VFP OLEDB provider apparently does not. Instead, it runs under the IUSR identity. Why is this? Is there some way to explicitly specify the identity under which the VFP OLE DB provider (or any DLL / COM object) is supposed to run when invoked by IIS/ASP?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform