Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data access
Message
From
27/03/2014 12:47:38
 
 
To
27/03/2014 10:54:11
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2003
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01597463
Message ID:
01597488
Views:
49
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform