Literally , no. Other answers have dealt with this.
However, if you allow that the possible intruders will not be armored, you can do something like it.
Produce the light by an array of high-powered emitters. Each separate emitter produces a beam which focusses down to a very, very small spot about 1/4 to 1/10th the length of the hallway. The beams are all aimed at different spots within the hallway, and none of them is aimed directly down the corridor. As a result, virtually all of the emitted light will be absorbed by the walls.
The result will be hazardous to look at from the end of the hall, due to unavoidable (hopefully small) reflections. However, if you attempt to traverse the hall, you'll eventually encounter a wall of "hot spots", where the power density is so great as to burn holes in you. Before you get to that point, the perceived temperature will rise to unbearable levels, and this should keep intruders out.
Of course, this won't work in the presence of suitable armor - if the intruder simply rushes the corridor, she will pass almost instantly through the "death zone", and ought to be able to make it.