Ranhiru said:
ahh here is our J2ME master....
I know i know... Mobile Applications can be dangerous too
agree !
How can it related the programming language safty directly to the particular device
security ... yes can be but very less. It's comming with the security model of that
plactform , well yes J2ME uses the sandbox security model. And remember that
iPod applications also uses this so called sandbox security model. Then it's not
very much about the language . Yes the language safty is lightly help to increase the device security , but then again there are pros and crons.
KVM itself is a little big interface , so there can be week places on that interface who can break out of the sandbox. Think if the KVM is running under the kernel mode ( thus thinking it's sandbox and assuming that never break out of that sandbox ). Then the security will be sorry.
so we cannot compare like this , most import thing is the security model of the plactform not the programming language.
Let me clear this , when C++ think that you have a pointer to a int , then you can add 100 to that pointer and access some aribritary memory location ( if that memory location is inside the sandbox , otherwise there will be a exception too). But in java you can't do this. That's what I mean language level security.
so it helps little.
Actually when comming to mobil devices the security model is the important thing.