Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CreateProcessAsUser

Status
Not open for further replies.

StewartJ

Programmer
Apr 3, 2002
74
GB
I need to make secure (ie prevent tampering) the data for a large 16-bit legacy application running under Windows NT4. My thought is that I use Windows security to hold the data with access limited to a single user account. I then wrap my legacy app in some VB code that uses LogonUser and CreateProcessAsUser to fire it under the special account. That way, my users only have access to the data through the app.

I would welcome any advice or anticipated pitfalls. (I also might need to do this on Citrix under NT4 or 2000. Any problems?).
 
I am currently trying to wrap these two API calls in VB code. Do you have the necessary VB code to do this?

We need to LogonOn programmatically to a local machine and run an exe file in that logged on Users's process, all in VB.

Many Thanks,

RK.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top