No executables in /tmp

On Sat, 25 Mar 2006, Jeff Schroeder wrote:
> ... won't run even if it's chmod 755. However, it's still possible to
> do this:
>> perl /tmp/myscript.pl
>> ... and it'll run happily. Can I prevent the system from allowing this?
> I suspect not, but figured I'd ask...
Yeah, that's a tough one, especially since they could do things like
perl < /tmp/myscript.pl
or even
perl `cat /tmp/myscript.pl`
-J