Hi Farshid,
Thanks for the code and information about GLIntercept. I wasn't aware about
the GLIntercept security hole, but it doesn't surprise me that it can happen.
No security is going to be fool proof, but we can at least try to make it a
little more difficult. Plus, it makes the managers happy. ;-)
Anyway, I'll give the std::stringstream a try. I'm not very proficient when it
comes to the std library, but I'm learning. It certainly looks
straight-forward enough.
Thanks,
Brian
On Tue Dec 11 18:13 , "Farshid Lashkari" sent:
>Hi Brian,
>
>You can decrypt your IVE file into a std::stringstream and use the
>following code to read it from memory:
>
>//Read IVE file from memory
>osgDB::ReaderWriter *fileReader =
>osgDB::Registry::instance()->getReaderWriterForExtension("ive");
>if(fileReader) {
> return fileReader->readNode(decryptedStream,options);
>}
>
>This might prevent people from using your IVE file, however they can
>still easily get access to your texture/shader data. With a few clicks
>of a mouse I can setup GLIntercept
>(http://glintercept.nutty.org/index.html\) to intercept all
>texture/shader uploads to the graphics card and save them to a file.
>Just thought you should be aware of this security hole.
>
>-Farshid
>
>On Dec 11, 2007 9:13 AM, Brian [EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> Recently, the company that I work for has decided to distribute a demo of
>> our application. To protect our own investments, I made the brilliant
>> comment that we should encrypt our models and shader source. We primarily
>> use IVE files, and looking at the IVE plugin, it makes strong use of
>> std::istream class.
>>
>> My question is a bit off-topic for OSG, but does anyone know of a way to
>> create a memory resident file in Windows XP that can be used with a
>> std::istream object?
>>
>> Thanks,
>> Brian
>>
>>
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org