Welcome to the SafeNet System Windows Forms application! SafeNet is a lightweight Windows Forms application that creates a secure, locked environment on a Windows machine. It disables access to essential system functionalities, including Task Manager, keyboard shortcuts (e.g., Ctrl+Alt+Del, Alt+Tab, WinKey), and desktop interaction, until the correct password is entered.
This tool can be used to simulate kiosk-mode behavior or as a simple educational project for understanding Windows security, registry manipulation, and system hooks in C#.
- Ctrl + Alt + Del
- Alt + Tab
- WinKey
- Ctrl + Esc
- When the application launches:
- Task Manager is disabled.
- Windows key, Alt+Tab, and other escape shortcuts are blocked.
- Desktop icons and the taskbar are hidden.
- The form appears without borders, taking over the screen.
- A password prompt appears.
- The password is checked against the contents of safenet.pass.
- Task Manager is re-enabled.
- Desktop icons and taskbar are restored.
- Application exits, returning full control to the user.
- The file safenet.pass should contain your password on a single line. Default password: "password" Warning: Do not use this tool in production or shared environments without further security hardening.
- Clone or download the repository.
- Open the project in Visual Studio.
- Build and run the project.
- A password prompt will appear. Use the default password or modify safenet.pass before launching.
- After entering the correct password, the system is unlocked.
This project is intended for educational use only. Improper use of system-level hooks or registry modifications can lead to a poor user experience or even lock you out of your system. Use with caution and always test in a controlled environment.