Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Impersonate user -- security settings for directory access
Message
From
17/05/2004 14:08:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Impersonate user -- security settings for directory access
Miscellaneous
Thread ID:
00904639
Message ID:
00904639
Views:
61
Hi

I am using a vfp exe com server and a vfp mtdll com server for vfp-.net interop. I am experiencing differences between the 2 com servers in how they interact with the operating system, which is win 2k server.

My asp.net application is using impersonation so that I can use vfp tables on different computers on my peer to peer network.

The vfp exe com server has no problem issuing a command like:
  if Directory(“h:\Data\”)
    do something….
  Else
    Do something else…..    
  endif 
However, the same exact command issued by the mtdll com server always returns .F. for if Directory(). I am able to get around the limitations by discontinuing the use of impersonation and falling back to an ASPNET user. I guess the impersonated user is missing the local security policy to read the directory info.

Therfore: does anyone know what policy my impersonated user needs to be able to read directory info. Hopefully this will enable the mtdll version of if Directory() to work properly.

Regards,
Neil
Next
Reply
Map
View

Click here to load this message in the networking platform