mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-03 06:03:25 +00:00
Options to only allow specific IP address to upload #260
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @misaka00251 on GitHub.
Or something like whitelist / blacklist feature? Because when it comes to self-hosted, abuse is a big problem.
@paolafrancesca commented on GitHub:
there are
--http-auth-userand--http-auth-passthat will add http basic auth for a single account only on upload, can this solve your issue?a whitelist/blacklist feature could be useful anyway
@paolafrancesca commented on GitHub:
addressed in #224, please @misaka00251 test on that branch
I also switched to go module there
@paolafrancesca commented on GitHub:
@misaka00251 there's no sanitization of the input: so
2.2.2.2will fail to be parsed because of the space in the beginning@misaka00251 commented on GitHub:
Well, I managed a private GitLab instance (for me and my friends) and have some shared GitLab runners (runners are on two different machines), and I only want these shared machines to use this service. Clearly here
--http-auth-userand--http-auth-passisn't a perfect solution, since it might get leaked...@misaka00251 commented on GitHub:
Tested and it works.
Issues:
Already set a list of IPs like
--ip-whitelist="1.1.1.1, 2.2.2.2", but only1.1.1.1can access.@paolafrancesca commented on GitHub:
fixed