How create a Password for open a script?

How create a password to open an encrypted script?

I tried to use "Encrypted Files" but I did not understand how...

I want to implement my script "Create Encrypted Script" with the opportunity to enter a security password.

Suggestions?

Thanks Michele

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anubis's picture

Hi Michele, here is what i

Hi Michele,
here is what i did for you, try it,
and hope it is what you need,
ui
or at least will pointer you where to look ;-)

AttachmentSize
encypt_with_password.ms 1.93 KB

my recent MAXScripts RSS (archive here)

Michele71's picture

Yes, Anubis thanks. Is what I

Yes, Anubis thanks. Is what I was looking for :) I hope now understand how you used to create the password script :) Again, a big thanks :) :)

Graph's picture

you could use encryptFile to

you could use encryptFile to encrypt your files and either use the encryption key as passwword or convert your password string to numbers and use that for the key
but then youll need a launcher for those scripts wich decrypts them with the password and executes the content

or if thats not what you meant, on eval of the script pop up a rollout with an editText, if the correct password is entered close that rollout and execute the main part

Raphael 'Insanto' Steves
http://Graph.Net84.Net

Michele71's picture

Hi Graph :) In fact it is the

Hi Graph :)

In fact it is the second part of your answer I want to do.

WorkFLow:

When I create encrypted script, I want a option for insert a password:

Create file .mse without password
Create file .mse with password

Now, the "encryptFile" I do not understand how it works ... are whole days that I try :(

Anyway, thanks for the reply :)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.