From: dan berkowitz on
Hi,
I am working on some proprietary algorithms and plan on using P-code to distribute my program.

How safe are p-files? Can they be viewed using the debugger? what tips can you recommend to ensure the securit of p-files.

Any help would be appreciated.

db
From: us on
"dan berkowitz" <aim120c5(a)gmail.com> wrote in message <hvcgf4$9kj$1(a)fred.mathworks.com>...
> Hi,
> I am working on some proprietary algorithms and plan on using P-code to distribute my program.
>
> How safe are p-files? Can they be viewed using the debugger? what tips can you recommend to ensure the securit of p-files.
>
> Any help would be appreciated.
>
> db

in general, they are very safe...
however, look at this

http://www.mathworks.com/matlabcentral/newsreader/view_thread/271697#713066

us
From: dan berkowitz on
given this apparent vulnerability, how would you reccomend coding an M file that i want to convert to a p file? i'm trying to avoid hard coding any thing, and am trying to call as many (p-coded) function M-files as possible.

any thoughts would be greatly appreciated.

db
From: us on
"dan berkowitz" <aim120c5(a)gmail.com> wrote in message <hvd1o8$m30$1(a)fred.mathworks.com>...
> given this apparent vulnerability, how would you reccomend coding an M file that i want to convert to a p file? i'm trying to avoid hard coding any thing, and am trying to call as many (p-coded) function M-files as possible.
>
> any thoughts would be greatly appreciated.
>
> db

it depends on what exactly you want to hide, eg, a password(?)...

us
From: dan berkowitz on
i'm not trying to hide any passwords. just an entire function M-file.

db