This paper presents a new formulation and solution method for partial fortification and interdiction of a trilevel shortest path problem that is a generalization of existing network interdiction models to a more practical setting. We consider a trilevel problem in which a defense plan is determined at the top level to reinforce some network components against a potential attack. The middle-level problem is solved to predict the most damaging potential attack plan to the hardened network, while the bottom-level problem is used to determine the shortest path in the surviving network. In the proposed model, partial interdiction and fortification are permitted to make the model more general and practical. In addition, the costs of interdiction and fortification are minimized in the attacker’s and defender’s objective functions, and the corresponding budget constraints are relaxed.We have devised a trilevel decomposition algorithm to solve the proposed model in a reasonable time. Furthermore, we transform the trilevel partial fortification problem into a bilevel problem using duality and propose a bilevel decomposition algorithm to solve it. We also study three different formulations for a trilevel shortest path interdiction problem with total fortification and solve these problems using a combination of duality, decomposition and relaxation methods. The numerical results show that the optimal objective values obtained by the proposed models are better than those of the total interdiction models. The solution times of the proposed algorithm applied on a set of test problems are significantly less than those of the existing algorithms. This implies that the budget relaxations in the proposed model improve the total traversing cost in the presence of partial attack and fortification.