Georgi Chorbadzhiyski
2013-Nov-05 15:12 UTC
[syslinux] [PATCH tftp-hpa] Add --forbid-get option to disable downloads
In my tftp usage I'm using the server to collect device configurations but I don't want once the files are uploaded to be accessible for download. I've solved my problem by adding --forbid-get/-F option which disables file downloads. -- Georgi Chorbadzhiyski | http://georgi.unixsol.org/ | http://github.com/gfto/ -------------- next part --------------
H. Peter Anvin
2013-Nov-06 04:47 UTC
[syslinux] [PATCH tftp-hpa] Add --forbid-get option to disable downloads
On 11/05/2013 07:12 AM, Georgi Chorbadzhiyski wrote:> In my tftp usage I'm using the server to collect device > configurations but I don't want once the files are uploaded > to be accessible for download. > > I've solved my problem by adding --forbid-get/-F option which > disables file downloads. >You can do the same with a one-line map file: aG .* Downloads not permitted. This is more powerful, because you can deny downloads from only specific subpaths. -hpa
Georgi Chorbadzhiyski
2013-Nov-06 05:45 UTC
[syslinux] [PATCH tftp-hpa] Add --forbid-get option to disable downloads
On 06.11.2013 ?. 06:47, H. Peter Anvin wrote:> On 11/05/2013 07:12 AM, Georgi Chorbadzhiyski wrote: >> In my tftp usage I'm using the server to collect device >> configurations but I don't want once the files are uploaded >> to be accessible for download. >> >> I've solved my problem by adding --forbid-get/-F option which >> disables file downloads. >> > > You can do the same with a one-line map file: > > aG .* Downloads not permitted. > > This is more powerful, because you can deny downloads from only specific > subpaths.Thanks, that is much better than my hack. -- Georgi Chorbadzhiyski | http://georgi.unixsol.org/ | http://github.com/gfto/