![](/assets/images/picto-drapeau-france-3a76576a5d60a512053b4612ab58dae5.png)
3. Java and security
Java programs are designed to be downloaded over the network, which implies security aspects. No one would dare execute downloaded code whose actual content he or she did not know, if he or she did not have information about the code's safety. Security is assured at several levels, and mainly concerns applets.
3.1 Language restrictions
The first level of security is that of the language itself. Java has replaced pointers with references. There is no reference arithmetic in Java similar to the pointer arithmetic of C or C++. It is therefore impossible for the programmer to manipulate memory addresses to access unauthorized areas.
The ability to declare a class or methods as final prohibits any inheritance of the class and any redefinition...
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
![](/assets/images/logo-eti-286623ed91fa802ce039246e516e5852.png)
The Ultimate Scientific and Technical Reference
This article is included in
Software technologies and System architectures
This offer includes:
Knowledge Base
Updated and enriched with articles validated by our scientific committees
Services
A set of exclusive tools to complement the resources
Practical Path
Operational and didactic, to guarantee the acquisition of transversal skills
Doc & Quiz
Interactive articles with quizzes, for constructive reading
Java and security
References
Websites
Microsoft, Visual J# http://msdn.microsoft.com/vjsharp
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
![](/assets/images/logo-eti-286623ed91fa802ce039246e516e5852.png)
The Ultimate Scientific and Technical Reference