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/
Seemingly Similar Threads
- [PATCH tftp-hpa] Add --forbid-get option to disable downloads
- porting to tftp-hpa version tftp-server-0.39-3.el4.x86_64.rpm
- Tftp-hpa-0.48 ACKs error messages from tftp server
- [PATCH RESEND] tftp-hpa: Fix build error with GCC 10 due to multiple definition of `toplevel'
- Trouble compiling tftp hpa under Solaris 10