For Java website construction, we should first understand the Java language, the security of the Java language, and pay more attention to the security of the Java website. Then we will briefly introduce the security of the Java language and the Java language, security of websites made in Java.
Java is a general term for Java programming language and Java platform launched by Sun Microsystems in May 1995. The Java-based HotJava browser (supporting Java applet) shows the charm of Java: cross-platform, dynamic Web and Internet computing. Since then, Java has been widely accepted and promoted the rapid development of Web, and common browsers now support Java applet.
Java is divided into three systems: JavaSE (Java2 Platform Standard Edition, java Platform Standard Edition), JavaEE (Java 2 Platform, Enterprise Edition, java Platform Enterprise Edition), JavaME (Java 2 Platform Micro Edition, java micro version ).
Java is a simple, object-oriented, distributed, interpreted, robust, secure, and structure-neutral, portable dynamic language with excellent performance and multithreading.
Java is a widely used network programming language. With the development of Internet, Java has been widely used with its powerful vitality. The reason why Java is popular is that it is indeed a new generation of programming language, it has many advantages, such as object-oriented, good portability, unrelated to hardware, robust and secure system, concurrent mechanism, and high performance. It also provides support for distribution, multithreading, and dynamic characteristics of the tea site.
Security is the most important issue for Internet developers. Users are most afraid of two things: theft of confidential information or destruction of computer systems. Java's built-in security solves these two problems.
First, the Java security model has three basic components: the class loader, the byte code validators, and the security manager. The Byte Code validator ensures that the tea website of the Java program is correctly compiled and follows the VM access restriction system. The next layer of security is provided by the class loader. When the class loader obtains classes from the network, classes from different servers are separated from each other and differentiated from local classes. With this separation, the class loader can prevent online loaded classes from pretending to be standard built-in/built-in classes, or interfering with loading classes from other servers.
2. Security Manager implements VM Security Policies. The security policy determines what activities the VM can perform and under what conditions. For example, files are stored and loaded into Disk Files in input/output (I/O. The VM can read or write files, but it must first pass the I/O check of the source code security manager of the tea website. This allows the security manager to determine whether Java programs can access disk files without causing malicious damage to the file system. Security Manager is usually used to prevent warning errors. For example, in the browser netscape navigator that Java allows, the security policy does not even allow file access. The security manager is also written in Java (a Java class file), so it can be overwritten if necessary. At the same time, Java also has measures to prevent hostile Java programs from writing their own security policies. These measures prevent other security managers from being added to the system during web browser runtime.
In short, Java's security measures ensure that Java programs operate under VM rules to prevent unauthorized programs from accessing system resources containing proprietary information or endangering the integrity of the client.
Therefore, websites made in Java can avoid virus intrusion, and more importantly, websites made in Java, the code and interface are well differentiated and more protective for websites. If you use Java for website security, you don't have to worry about it.