Description: I manage a system where I need to restrict users from accessing the desktop and running other applications. The search for ways to achieve this returned several different techniques. Although in the end I didn t use any of the techniques described here, I decided to compile all the code in one application for everyone who should need it.
Note: I don t claim to be the author of any of the code presented in this article. The application is a compilation of several sources and I will try to acknowledge the authors whenever possible.
To Search:
File list (Check if you may need any files):
source\Dll\InjDll.c
......\...\Inject.c
......\...\Inject.h
......\...\resource.h
......\...\WinLockDLL.c
......\...\WinLockDLL.dsp
......\...\WinLockDLL.dsw
......\...\WinLockDll.h
......\...\WinLockDLL.rc
......\Exe-C\resource.h
......\.....\WinLockEXE.c
......\.....\WinLockEXE.dsp
......\.....\WinLockEXE.dsw
......\.....\WinLockEXE.rc
......\....VB\WinLockEXE.frm
......\......\WinLockEXE.vbp
......\......\WinLockEXE.vbw
......\winlock.htm
......\Dll
......\Exe-C
......\Exe-VB
source