Jump to content
DarbAsia

Adding Password to folder containing a program

Recommended Posts

DarbAsia

Hello,

i want to add password to my installed program, so no one can modify it's folder or copy them without password.

Share this post


Link to post
Share on other sites
DarbAsia

Hello,

i want to add password to my installed program, so no one can modify it's folder or copy them without password.

Share this post


Link to post
Share on other sites
Subz

Just change your permissions on the folder so only you can access, or a particular group can access.

Share this post


Link to post
Share on other sites
DarbAsia

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 by DarbAsia

Share this post


Link to post
Share on other sites
JLogan3o13

Please stick to one topic in the future...


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Subz

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")

 

Share this post


Link to post
Share on other sites
DarbAsia
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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×