Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exclusive access in one folder
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00964719
Message ID:
00964972
Views:
7
>I want do this:
>
>run the Application,
>get the exclusive access to a directory reserved to the processId only.
>
>In other words, until application run,
>only the application can use the files of the folder.
>
>It is like to open a file in rw exclusive mode.
>
>Exists a API for declare this ?
>
>Possible in WXP with VFP?
>
>Possible in WinFS?
>
>thanks
>

Fabio,

Rights are granted under Win32 at the user level, not the application level.

One solution might be to limit the access to computer administrators only. Then you could set up a folder that only adminstrators could access. You might search the MSDN Library on "RunAs" for a potential solution.

The downside of this is if the user has adminstrative rights, then he/she has access to the folder.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform