Page 1 of 1 1
Topic Options
#150208 - 2005-10-19 02:53 PM Kixtart scripts in executable format
AstaaLavista Offline
Starting to like KiXtart

Registered: 2005-08-11
Posts: 111
Loc: Gujarat, India.
Hi,
I want to give the scripts to various users, but I dont want them to modify or even view the script. Is it possible to provide the scripts in an EXECUTABLE format, so that users will only be able to run the script but neither modify nor view it?

Top
#150209 - 2005-10-19 03:04 PM Re: Kixtart scripts in executable format
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
You can pre-tokenize scripts in 4.51 (and 4.50)

Quote:


Pre-tokenizing Scripts

Beginning with KiXtart 4.5, there is now an option to pre-tokenize scripts. This feature takes a regular, clear text script, converts it to so-called ‘tokens’ and stores the result as a new file. Tokenized scripts are smaller and can be processed faster than clear text scripts. Additionally, tokenized scripts are encrypted and contain a signature to protect against accidental changes in the script. These features provide a level of security unavailable with clear text scripts.

To pre-tokenize a script, simply specify the ‘/t’ option on the command line:

KIX32 demo.kix /t

To pre-tokenize a script and protect it with a password, combine the ‘/t’ option with the ‘/u’ option on the commandline:

KIX32 demo.kix /t /u=YourSecretPassword

Tokenized scripts are stored using the original filename appended with the “.kx” extension. The example above would produce a file with the name “demo.kx”.

Using the INCLUDE statement you can combine multiple scripts into a single pre-tokenized script.

Tokenized scripts can be run from the KiXtart command line as well as by using the CALL command. Note however, that CALL cannot be used to run tokenized files that have been protected with a password. The KiXtart HTML Help (language reference) is developed, maintained and copyright by SL Corp.

Notes:

The level of security provided by tokenizing a script qualifies as ‘obsfucation’. In practical terms this means that tokenized scripts are perfectly safe from attempts at viewing or changing them by regular end users. However, tokenized scripts are not safe from attacks by people with enough time and determination on their side. As a rule, you should never store any valuable or sensitive data, such as administrative passwords, in scripts (including tokenized scripts).

Additional protection of scripts can be achieved by using the password-protection option. Scripts that have been protected with a password can only be used by specifying the correct password on the KiXtart command line.

The CALL command cannot be used to run tokenized files that have been protected with a password

KiXtart does not provide a way to convert pre-tokenized scripts back into clear text scripts. If you use the pre-tokenizing feature, always make sure to maintain copies of the original source scripts.




Top
#150210 - 2005-10-19 03:09 PM Re: Kixtart scripts in executable format
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
This needs to be moved.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#150211 - 2005-10-19 03:25 PM Re: Kixtart scripts in executable format
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
done.
_________________________
!

download KiXnet

Top
#150212 - 2005-10-19 03:50 PM Re: Kixtart scripts in executable format
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
use iexpress.exe from IEAK

I use it all the time
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 271 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.052 seconds in which 0.022 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org