Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Impersonate user -- security settings for directory acce
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00904639
Message ID:
00904732
Views:
16
Hi Barbara,

Still no good. It's kind of funny. I can read and write to all of the data files in the vfp database via the dll that my asp.net has access to. But I cannot go to the same directory on the same computer via the same dll and issue a simple command as:
 if Directory(...)

I tried another test with :
  if File(..)
and that fails in that it always return .f.

Every other vfp command in the dll works fine. It is just these two file access commands. That is why I thought the user, which I am impersonating needed additional rights. In summary: reading and writing to data files are ok but checking for the mere exisitance of a file or a directory is *not* ok.

Any thoughts?

Neil



>>It is more than that. Read access is in place. What I need to know is what is the appropriate privilege for a user to have access to Directory Info.
>>
>
>The user has to have read access to the root node H: as well. You can test this out by logging in as the user you use for impersonation, and trying a ? DIRECTORY("H:\data") command from VFP.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform