Skill .ile file

  • Thread starter sridhartv25@gmail.com
  • Start date
S

sridhartv25@gmail.com

Guest
Hello all,

I have a simple doubt, is there any difference between the files
having the extension .il and .ile.
In my skill Library there are some skill files with the extension .ile
and these files are not readable and writable ,but they can be
executed in the icfb.
One more thing what is the procedure to convert a skill script to a
only executable file but not readable and writable.

Cheers,
Sridhar.
 
I got It I think
I could search for the command encrypt in Skill Development functions.
But still is there any other way to do this.
 
sridhartv25@gmail.com wrote, on 01/16/09 09:11:
I got It I think
I could search for the command encrypt in Skill Development functions.
But still is there any other way to do this.
The suffix itself is not important - the convention is that ".ile" is used for
encrypted SKILL files. The files themselves of course are readable (otherwise
you wouldn't be able to load them), but they're not "human readable".

A file can have the suffix ".ile" and not be encrypted of course, and could have
the suffix ".il" and yet be encrypted - it just depends on what you called the
file. The only way to encrypt is to use the encrypt() function.

Do be aware that encrypted files (at least without a "password" specified - this
is an optional argument for the encrypt function, which if specified must also
be specified when you load the file) are not terribly secure and are pretty easy
to decrypt (I'm not going to post how, in the interests of keeping at least some
minor level of "security by obscurity", but you could find out how very easily
with a bit of searching) - so should be considered just a means of putting
people off modifying the files, rather than giving you any real security.

Password encrypted files are better (although the encryption itself is not that
strong, at least you'd have to figure out the encryption algorithm, which is
more than you have to do for normal non-password encrypted files).

I'm not sure what you're asking for as "any other way to do this". If you want
it encrypted, you need to use the encrypt() function. Note that the resulting
file is not _executable_ - it's just a way of disguising the source file.

The other way that you can encode your data is to build context files (covered
in the same manual, and also in posts in this news group). These are a snapshot
of the SKILL virtual machine, and are binary, and consequently rather hard to
reverse engineer (I don't know of anyone that would bother going to that
effort). They're also faster to load if there's a large amount of code, because
the code is effectively pre-compiled into byte code for the virtual machine.

Regards,

Andrew.
 
Thanks Andrew for your kind reply,

Yes just I want to know the procedure of encoding the files.
I read the info on the context files , but I think the problem could
be that the loading procedure for these files is different
we need to use the command loadContext , where as the command loadi
doesnot work
and the users who are not aware of the command loadContext may giveup.
Andrew if you donotmind please can you send me the procedure of
decrypting the encrypted files.

Cheers,
Sridhar.
 
Sridhar,

you don't need to decrypt the encrypted files, you just load() them like normal unencrypted files.

And regarding loadContext(), you can provide your users with a regular skill file that does the job
of loading the context files, so that they won't get confused. The sensitive information in the
context file is protected.

Cheers,
Stéphane



sridhartv25@gmail.com wrote:
Thanks Andrew for your kind reply,

Yes just I want to know the procedure of encoding the files.
I read the info on the context files , but I think the problem could
be that the loading procedure for these files is different
we need to use the command loadContext , where as the command loadi
doesnot work
and the users who are not aware of the command loadContext may giveup.
Andrew if you donotmind please can you send me the procedure of
decrypting the encrypted files.

Cheers,
Sridhar.
 
Hi,

You could use the skill function 'isFileEncrypted' to check whether
your skill file is encrypted or not, regardless its name/extension.
Sadly enough, it is fairly easy to read through and encrypted skill
file just using 'lineRead' along with a pretty print.

Riad.
 
sridhartv25@gmail.com wrote, on 01/16/09 11:42:
Thanks Andrew for your kind reply,

Yes just I want to know the procedure of encoding the files.
I read the info on the context files , but I think the problem could
be that the loading procedure for these files is different
we need to use the command loadContext , where as the command loadi
doesnot work
and the users who are not aware of the command loadContext may giveup.
As Stephane said, that's a bit of a strange thing to say. Surely you should
document anything you provide, rather than assuming anyone will know what to do
with it...

Andrew if you donotmind please can you send me the procedure of
decrypting the encrypted files.
I already said I wasn't going to do that...

Andrew.
 

Welcome to EDABoard.com

Sponsor

Back
Top