Forum Moderators: coopster & phranque

Message Too Old, No Replies

Encrypt Cgi Scripts - Protection

         

jumbuck

1:24 am on May 29, 2006 (gmt 0)



Hi there,

Just wondering if there was a way to have cgi files encrypted. And when they are executed by a link the link would contain the decryt info or pass a link to a file that decrypts the cgi script so it executes normally.

Just trying to totally stop prying eyes.

Is there anything like this or am I completely dreaming?

Cheers

KevinADC

7:58 pm on May 29, 2006 (gmt 0)

10+ Year Member



There are plenty of perl modules to "hide" your perl code:

Acme::Enc
Acme::Bleach
Acme::Buffy
Acme::Morse

and probably many more, seems to be a sort of a contest who can write the coolest perl code obfuscator. I don't think any of them are core modules so you may need to install one. You can look them up on CPAN:

[search.cpan.org...]

jtara

10:14 pm on Jun 8, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How are prying eyes going to see your code? Are you selling a CGI script to others in source code form? If this is just running on your own server, it shouldn't be visible to browsers if everything is properly configured.

You could always compile the code (for which there are a few solutions - most requiring you to purchase a compiler, though). If you are selling a package, you could at least have Windows and Linux compiled versions, and only have to provide source code for more obscure platforms.

DataToolz

3:21 am on Jun 27, 2006 (gmt 0)

10+ Year Member



Compiling it into an executable is the best way I fing to hide your code.