DarbAsia Posted April 27, 2018 Share Posted April 27, 2018 Hello, i want to add password to my installed program, so no one can modify it's folder or copy them without password. Link to comment Share on other sites More sharing options...
DarbAsia Posted April 27, 2018 Author Share Posted April 27, 2018 Hello, i want to add password to my installed program, so no one can modify it's folder or copy them without password. Link to comment Share on other sites More sharing options...
Subz Posted April 27, 2018 Share Posted April 27, 2018 Just change your permissions on the folder so only you can access, or a particular group can access. Link to comment Share on other sites More sharing options...
DarbAsia Posted April 27, 2018 Author Share Posted April 27, 2018 (edited) Dear Friend, this program will be installed in my clients computers, so i don't want them to use the program without my permission. Edited April 27, 2018 by DarbAsia Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 27, 2018 Moderators Share Posted April 27, 2018 Please stick to one topic in the future... "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Subz Posted April 27, 2018 Share Posted April 27, 2018 You appear to be asking for separate things: 1. Stop client from modifying the installation folder 2. Stop client from copying files from the installation folder 3. Stop client from using program without a password 1 and 2 are folder/file permission related, and you really shouldn't be modifying security on these folders, otherwise how would the client uninstall the software. 3 can be done although its kind of simplistic see below: Local $sInputBox While 1 $sInputBox = InputBox("Registration", "Please enter the password", "***********", "*", 400, 140) If @error = 1 Then Exit If $sInputBox = "P@ssw0rd" Then ExitLoop Sleep(100) WEnd MsgBox(32, "Registration Complete", "Password Correct") Link to comment Share on other sites More sharing options...
DarbAsia Posted April 27, 2018 Author Share Posted April 27, 2018 54 minutes ago, Subz said: You appear to be asking for separate things: 1. Stop client from modifying the installation folder 2. Stop client from copying files from the installation folder 3. Stop client from using program without a password 1 and 2 are folder/file permission related, and you really shouldn't be modifying security on these folders, otherwise how would the client uninstall the software. 3 can be done although its kind of simplistic see below: Local $sInputBox While 1 $sInputBox = InputBox("Registration", "Please enter the password", "***********", "*", 400, 140) If @error = 1 Then Exit If $sInputBox = "P@ssw0rd" Then ExitLoop Sleep(100) WEnd MsgBox(32, "Registration Complete", "Password Correct") To simplify my request, i have a program that can be installed silently, i tried to make the program portable and i added password to it but i faced some issue with the software, some features didn't work, so i left it silent but it can be modified and used by the clients, so that is why i asked for folder lock. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now