With the improvements of living standards and economic conditions, the people’s demands for food safety are increasing. Therefore, it becomes necessary to develop an effective food supervision program to manage food safety information. The current food safety information managements are too simple and inefficient. Most of which are still managed artificially by humans. Although many countries are trying to use more effective food safety management systems, there still exist diverse details to be improved. In this thesis, a Java-based food safety information system is designed to improve the management efficiency and fix the system vulnerability.The browser/server (B/S) architecture of the management system in this thesis is built using the Java Web technology. The proposed system is built using the Spring MVC framework. The mySQL database is used for storing the data. Four separate modules are created to meet different users’ (administrator, manufacturer, detection department and consumer) requirements. Each module provides the food safety information from a different perspective. For instances, the product date and sales route are provided by the manufacturer, the food safety inspection results are provided by the detection department. The consumers can inquire all these food information through the proposed system such that a better transaction could be made and the food safety is guaranteed.The system security is analyzed and considered from both the browser and the client sides in the thesis. Countermeasures are implemented to prevent web security vulnerabilities from the XSS attack and the CSRF attack on browser-side server. The transmitted data is encrypted by the HTTPS protocol. The stability and the access speed of the proposed system are also tested to validate the robustness.