English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

In the areas of security risk and how they are exploited.
As well as precautions to take in order to reduce these security risk?

Thanks

2007-03-28 09:59:55 · 4 answers · asked by Salam 2 in Computers & Internet Programming & Design

4 answers

In general, Java is an interpreted language, which runs on a virtual machine, therefore its security risk, as well as capabilities, are less than C (and C++). C enables direct access to the hardware, and therefore is much more risky.

The typical C security fault is a "buffer overrun", meaning that a packet of machine code is sent to an unsuspecting location and gets executed. This type of attack is very difficult (or maybe even impossible) to coordinate in Java.

Application level attacks (such as phishing) can be done in any language, as they attack the human and not the machine.

2007-03-28 10:49:49 · answer #1 · answered by Zachi 2 · 0 0

In some cases, rather than an Interpreter, a Just In Time (JIT) Compiler can be used at run time. This can make certain Java code run as fast as C compiled code. You might find this JIT via IE Tools, Internet Options, Advanced under Java. This PC appears to use Sun Java Runtime Environment (JRE).

Java programming code for processing (not input/output) is the same as C. Well it was for the number crunching program that I converted.

2007-03-29 05:45:55 · answer #2 · answered by ROY L 6 · 0 0

As said before:

C is compiled and Java is interpreted

Java runs on a virtual machine
C runs anywhere
C is low level
Java is high level
C isn't object oriented
Java is about as object oriented as it gets

2007-03-28 23:20:25 · answer #3 · answered by SM 3 · 0 0

C language is compiled and java is interpreted

2007-03-28 10:15:41 · answer #4 · answered by Dark King 2 · 0 0

fedest.com, questions and answers