The development of society and economy has made the commodities circulate more frequently than usual. According to the statistics from the Logistics Information Center, the transportation plays a very important part in the logistics industry, especially for dangerous things, the logistics security inputs have certain complexity and continuity. How to develop effective strategies for distribution ration of inputs to maximize economic benefit has become the great challenge in modern logistics transportation. Here, the factors affecting the logistics security can be divided into several types such as hazardous goods, transportation, warehousing, personnel and equipment. A linear programming theory is used to build a linear programming model that can maximize the economic benefits of security inputs. Positive analysis accesses the optimal distribution for security inputs as percentage of the total, namely, the transportation security cost accounts for 55%; the dangerous goods security input is 20%; the storage and personnel security input is 10%; and the equipment security input is 5%.