[comp.unix.wizards] tftp acces restrictions

yaturner@tempone.Sun.COM (Jim Turner) (08/09/90)

Is there a way to control access to a machine from tftp, that is can I
prevent people from accessing
my files via tftp ???

murthy@algron.cs.cornell.edu (Chet Murthy) (08/09/90)

yaturner@tempone.Sun.COM (Jim Turner) writes:

>Is there a way to control access to a machine from tftp, that is can I
>prevent people from accessing
>my files via tftp ???

Yes - write a program that chroots itself into a subdirectory, and
then exec's another program, setuid-ing first.  This other program
must be in the subdirectory, but at that point, unless the other
program can delete directories, I think there is no way for it to get
out of the subdirectory.

--chet--