- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
For security reasons I want to run my application as a virtual user - the virtual user has appropriate privileges while all the real users don't. I have got this working using a piece of freeware from the web but when I CreateProcess to run this freeware it initially flashes a DOS window over my application, which is very annoying.
So I was wondering if anyone knows how it could be done directly from Fortran? I need to run the application as myself initially, and very early on, the application logs in again as the virtual user and exits my original process.
Any suggestions or insights would be very welcome.
Many thanks
Mike
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I admit that this Windows security stuff is Greek to me; however, your best bet could be Google group search. Use "LogonUser", "CreateProcessAsUser" and/or "ImpersonateLoggedOnUser" as keywords. (This stuff turns out often in newsgroups, but I never bothered to get into it).

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page