I have a script that I want to send to some users, the script is a javascript and it contains two image template files (thats about 4 mb each) and I don't want users to be able to change the templates. So I want to make some security on the templeates files. Is this possible? Should work on both pc and mac.
I have think about some of these method:
* md5 checksum (or similar checksum) and compare the file be for open them. I have seen any checksum in photoshop so the only way is with javascript maybe it's not possible?
* rar or zip with password or crypt templatefiles. rar and zip is not built in on all system so maybe this is not possible to?
*I read some way to include imagefiles in JSXBIN but only small icons files? This would be the best so I just send one large file and the user drop it in photoshop and it loads. But maybe this is not possible.
Anyone now a good solution for this?
Protect temple files with some security?
Protect temple files with some security?
to wrote:*I read some way to include imagefiles in JSXBIN but only small icons files? This would be the best so I just send one large file and the user drop it in photoshop and it loads. But maybe this is not possible.
To do this, you would need to convert the file(s) to hex strings that you include in your javascript file. You then convert the JS file to a JSXBIN file. At runtime, the script would convert the hex strings back to binary format, save them as image files, the use those files in the script.
It is possible, it will just take a bit of work to get right.
To do this, you would need to convert the file(s) to hex strings that you include in your javascript file. You then convert the JS file to a JSXBIN file. At runtime, the script would convert the hex strings back to binary format, save them as image files, the use those files in the script.
It is possible, it will just take a bit of work to get right.