POV-Ray : Newsgroups : povray.advanced-users : Securing a POV file : Re: Securing a POV file Server Time
30 Jul 2024 02:24:05 EDT (-0400)
  Re: Securing a POV file  
From: ryan constantine
Date: 28 May 2000 23:38:48
Message: <3931E729.750BD4F2@yahoo.com>
if you are writing the program that will send it to povray, you could
make your own encription file that is decoded to a temporary pov file at
runtime and then erased when the image is done....?

Warp wrote:
> 
> David Vincent-Jones <geo### [at] galaxynetcom> wrote:
> : Is there ant way in which the source .POV file could be encrypted so that
> : the user would not have access to this source.
> 
>   Nope.
>   Povray itself have to get, some way or another, a valid pov source code to
> read. So if povray can get it, then the user can get it as well.
> 
>   Of course one way of "dumb-encrypting" the file would be to code it in
> some way into a string or into an array of numbers and then making a loop
> that writes parts of the encoded code into a file and then includes that
> file (this could be made in parts so that only a part of the file is in
> non-encrypted form at a time).
>   This, of course, would stop only the most newbies from getting your code.
> It would not require much knowledge about the pov-script to modify the loop
> a bit so that it writes everything to a file and that's it.
> 
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.