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.
File list:
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
.....\Exe-VB
.....\......\WinLockEXE.frm
.....\......\WinLockEXE.vbp
.....\......\WinLockEXE.vbw
.....\winlock.htm