Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data access
Message
De
27/03/2014 12:47:38
 
 
À
27/03/2014 10:54:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2003
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01597463
Message ID:
01597488
Vues:
50
>>>Hi
>>>
>>>I'm trying to get access to some foxpro data across a a network on a web site.
>>>
>>>The anonymous account access for the web site is set to IUSR_machine name but when I look at the permission for the shared drive where the data I want to access is the IUSR account is not one that I can give permissions to.
>>>
>>>Any ideas how I can get read access to that data ?
>>>
>>>Thanks
>>
>>Assuming the server is IIS?
>>
>>Simplest option, if available, is to change the account on the application pool.
>>Failing that look at one of the ways of using user impersonation : http://support.microsoft.com/kb/306158
>
>Thanks Viv
>
>Ummhh I forgot to mention its classic asp

Don't think that makes any difference. Example of impersonating a user in ASP here : http://support.microsoft.com/kb/248187. It's VB6 but you could do that same thing with C# and COM. But you can't, of course, use the web.config approach.

If you have access to the server and can change the relevant application pool account that's obviously the simplest solution.....

UPDATE : Here's a C# version of the above impersonation : http://p2p.wrox.com/classic-asp-basics/77007-solution-impersonation-classic-asp.html
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform