Kondro 0 Posted March 9, 2011 Is it possible to make it so when a compiled .exe is opened it asks for a password to open the program? Share this post Link to post Share on other sites
jvanegmond 306 Posted March 9, 2011 (edited) Google nets so many results, I could only paste a few. Here is another option: #include <String.au3> $pass = InputBox("", "Enter password") $decrypt = _StringEncrypt(0, "7CC02362EBFC8288317D6E83AC852133F0A21FE6C504B89C49F4FE0732A3D04882873332BD8319D3", $pass) If Not ($decrypt == "9Aizqifra2YvOsb6OE0i") Then MsgBox(0, "", "Incorrect password") Exit EndIf Edited March 9, 2011 by Manadar github.com/jvanegmond Share this post Link to post Share on other sites
Kondro 0 Posted March 9, 2011 Google nets so many results, I could only paste a few. Here is another option: #include <String.au3> $pass = InputBox("", "Enter password") $decrypt = _StringEncrypt(0, "7CC02362EBFC8288317D6E83AC852133F0A21FE6C504B89C49F4FE0732A3D04882873332BD8319D3", $pass) If Not ($decrypt == "9Aizqifra2YvOsb6OE0i") Then MsgBox(0, "", "Incorrect password") Exit EndIf Thanks!, the one from the first link is perfect for me. Share this post Link to post Share on other sites