As cool as this sounds, it isn't exactly practical for a security system. The laser diodes used in pointers only have a lifetime of 3000 to 10000 hours. That's only 125 to ~400 days. It would really suck having to replace the laser every 4 months to 1 year.
I suppose you could rig up a more complicated system where the laser was on for only 1/1000 of a second, every second. This would certainly extend the lifetime of the system, but would require some more complicated detection circuitry.