You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-user@tcl.apache.org by ma...@finsystem.net on 2003/08/16 18:46:57 UTC
Source Code Protection.
Hi all,
I've developed a simple Rivet application, using TCL Rivet and Apache
1.3.27. I need to crypt .rvt files, because else end user can read
source code. How can I do?
Bye.
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-user-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-user-help@tcl.apache.org
Re: Source Code Protection.
Posted by "David N. Welton" <da...@dedasys.com>.
matteo.niccoli@finsystem.net writes:
> Scrive "David N. Welton" <da...@dedasys.com>:
> > Working during ferragosto? Wow - I thought I was the only one:-)
> No, me too :)
> > So - you want to make an application that you could, for instance,
> > sell to someone without them examining the sources?
> Yes.
> > <?
> > load ./my/rivet/lib/foo.so
> > ?>
> Ok, I think that this way is ok for me, cause the only peace of code
> that I want hide is TCL code. So I can have HTML code free to
> examine.
> > Does that help?
> Yes, also if I'm not able to create a .so files at the moment. I'll
> ask to google :)
Good!
Another think you might consider is starpacks (or starkits, or
whatever they're called). That might be a cleaner/easier way of
working, but I'm afraid I'm not very knowledgeable about them. I hope
to learn some more today when I get my new Tcl/Tk book from out of the
clutches of the Italian postal system:-)
Ciao,
--
David N. Welton
Consulting: http://www.dedasys.com/
Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
Apache Tcl: http://tcl.apache.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-user-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-user-help@tcl.apache.org
Re: Source Code Protection.
Posted by ma...@finsystem.net.
Scrive "David N. Welton" <da...@dedasys.com>:
> Working during ferragosto? Wow - I thought I was the only one:-)
No, me too :)
> So - you want to make an application that you could, for instance,
> sell to someone without them examining the sources?
Yes.
> <?
> load ./my/rivet/lib/foo.so
> ?>
Ok, I think that this way is ok for me, cause the only peace of code
that I want hide is TCL code. So I can have HTML code free to examine.
> Does that help?
Yes, also if I'm not able to create a .so files at the moment.
I'll ask to google :)
Bye.
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-user-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-user-help@tcl.apache.org
Re: Source Code Protection.
Posted by "David N. Welton" <da...@dedasys.com>.
matteo.niccoli@finsystem.net writes:
Working during ferragosto? Wow - I thought I was the only one:-)
> I've developed a simple Rivet application, using TCL Rivet and
> Apache 1.3.27. I need to crypt .rvt files, because else end user can
> read source code. How can I do?
So - you want to make an application that you could, for instance,
sell to someone without them examining the sources?
That's not actually something we've considered much...
You might be able to do something like create a shared library or
other compiled program that hides your sources, then load that in
Rivet. So, you would have Rivet pages that don't do much more than:
<?
load ./my/rivet/lib/foo.so
?>
<?
main_table
?>
And so on.
That doesn't hide everything (and would require some hacking up of
your app), but it might quick to do, and it would at least hide the
logic/application side of the code. Maybe you could even sell it as a
'feature' - the user could still access the templates and change the
look/feel to fit their needs:-)
Does that help?
It would be difficult, I think, to actually hide the templates
themselves, although maybe there are other ways around that... Let's
hear exactly what you need and go from there.
Ciao,
--
David N. Welton
Consulting: http://www.dedasys.com/
Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
Apache Tcl: http://tcl.apache.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-user-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-user-help@tcl.apache.org