git-annex/doc
Joey Hess de138c642b
p2phttp: Allow unauthenticated users to lock content by default
* p2phttp: Allow unauthenticated users to lock content by default.
* p2phttp: Added --unauth-nolocking option to prevent unauthenticated
  users from locking content.

The rationalle for this is that locking is not really a write operation, so
makes sense to allow in a repository that only allows read-only access. Not
supporting locking in that situation will prevent the user from dropping
content from a special remote they control in cases where the other copy of
the content is on the p2phttp server.

Also, when p2phttp is configured to also allow authenticated access,
lockcontent was resulting in a password prompt for users who had no way to
authenticate. And there is no good way to distinguish between the two types
of users client side.

--unauth-nolocking anticipates that this might be abused, and seems better
than disabling unauthenticated access entirely if a server is being
attacked. It may be that rate limiting locking by IP address or similar
would be an effective measure in such a situation. Or just limiting the
number of locks by anonymous users that can be live at any one time. Since
the impact of such an DOS attempt is limited to preventing dropping content
from the server, it seems not a very appealing target anyway.
2024-10-21 10:02:12 -04:00
..
Android Added a comment: git-annex for managing music 2024-07-21 19:08:45 +00:00
android
assistant
automatic_conflict_resolution
backends
bare_repositories
bugs p2phttp: Allow unauthenticated users to lock content by default 2024-10-21 10:02:12 -04:00
chunking
coding_style
contribute
copies
design clarification on 403 2024-10-18 11:05:41 -04:00
devblog
direct_mode
download
encryption
footer
forum Added a comment 2024-10-18 20:31:21 +00:00
future_proofing
git-annex-add
git-annex-addurl
git-annex-adjust
git-annex-benchmark
git-annex-checkpresentkey
git-annex-config Added a comment: [FR] Remote Settings for All Clones 2024-10-09 23:10:17 +00:00
git-annex-copy
git-annex-diffdriver
git-annex-direct
git-annex-drop
git-annex-enableremote
git-annex-export Added a comment: parameter --from not accepted 2024-08-14 14:27:54 +00:00
git-annex-find
git-annex-fsck Added a comment: PS 2024-09-04 15:48:01 +00:00
git-annex-get
git-annex-import
git-annex-importfeed
git-annex-lookupkey
git-annex-matching-options
git-annex-metadata
git-annex-move
git-annex-p2p
git-annex-preferred-content
git-annex-reinject
git-annex-repair
git-annex-rmurl
git-annex-setpresentkey
git-annex-sync
git-annex-test
git-annex-unannex
git-annex-undo
git-annex-uninit
git-annex-unlock
git-annex-unused
git-annex-webapp
git-annex-whereis
git-annex-whereused
how_it_works
install Added a comment: Remote Helper? 2024-08-17 05:33:01 +00:00
internals
license
links move clusters page to tips 2024-06-27 15:41:38 -04:00
metadata
news add news item for git-annex 10.20240927 2024-09-30 19:16:06 -04:00
not
polls
preferred_content Added a comment: Re: default preferred content 2024-09-25 09:25:42 +00:00
profiling
projects add IMN7 to projects and tag a relevant issue 2024-10-17 10:06:08 -04:00
required_content
scalability
security
sims formatting 2024-09-25 14:50:17 -04:00
special_remotes Added a comment: Support for importtree 2024-10-09 06:42:40 +00:00
stickers
submodules
sync Added a comment: git annex sync --ff-only 2024-07-21 01:04:44 +00:00
templates
testimonials
thanks update 2024-08-12 18:57:03 -04:00
tips 2024-10-08 03:58:55 +00:00
todo Tag with project ID 2024-10-17 20:26:08 +00:00
trust
tuning
upgrades
use_case
users Added contributions section to track my bugs and inquiries 2024-08-26 20:02:03 +00:00
videos
walkthrough
workflow
Android.mdwn
assistant.mdwn
automatic_conflict_resolution.mdwn
backends.mdwn Make VURL a proper list item 2024-10-17 09:18:04 +00:00
bare_repositories.mdwn
bugs.mdwn
builds.mdwn update github badges 2024-07-29 13:00:00 -04:00
chunking.mdwn
coding_style.mdwn
comments.mdwn
contact.mdwn
contribute.mdwn
copies.mdwn
design.mdwn
devblog.mdwn
direct_mode.mdwn
distributed_version_control.mdwn
download.mdwn
encryption.mdwn
favicon.ico
forum.mdwn
future_proofing.mdwn
git-annex-add.mdwn
git-annex-addunused.mdwn
git-annex-addurl.mdwn
git-annex-adjust.mdwn
git-annex-assist.mdwn
git-annex-assistant.mdwn
git-annex-backends.mdwn
git-annex-benchmark.mdwn
git-annex-calckey.mdwn
git-annex-checkpresentkey.mdwn
git-annex-common-options.mdwn mention sizebalanced as well as balanced 2024-08-30 12:06:45 -04:00
git-annex-config.mdwn
git-annex-configremote.mdwn
git-annex-contentlocation.mdwn
git-annex-copy.mdwn
git-annex-dead.mdwn
git-annex-describe.mdwn
git-annex-diffdriver.mdwn
git-annex-direct.mdwn
git-annex-drop.mdwn
git-annex-dropkey.mdwn
git-annex-dropunused.mdwn
git-annex-edit.mdwn
git-annex-enable-tor.mdwn
git-annex-enableremote.mdwn
git-annex-examinekey.mdwn
git-annex-expire.mdwn
git-annex-export.mdwn export: Added --from option 2024-08-08 12:08:55 -04:00
git-annex-extendcluster.mdwn layout 2024-06-27 15:52:58 -04:00
git-annex-filter-branch.mdwn
git-annex-filter-process.mdwn
git-annex-find.mdwn
git-annex-findkeys.mdwn
git-annex-findref.mdwn
git-annex-fix.mdwn
git-annex-forget.mdwn
git-annex-fromkey.mdwn
git-annex-fsck.mdwn
git-annex-fuzztest.mdwn
git-annex-get.mdwn
git-annex-group.mdwn
git-annex-groupwanted.mdwn
git-annex-import.mdwn
git-annex-importfeed.mdwn
git-annex-indirect.mdwn
git-annex-info.mdwn
git-annex-init.mdwn
git-annex-initcluster.mdwn layout 2024-06-27 15:52:58 -04:00
git-annex-initremote.mdwn
git-annex-inprogress.mdwn
git-annex-list.mdwn
git-annex-lock.mdwn
git-annex-log.mdwn
git-annex-lookupkey.mdwn
git-annex-map.mdwn
git-annex-matchexpression.mdwn git-annex sim command is working 2024-09-12 16:10:52 -04:00
git-annex-matching-expression.mdwn
git-annex-matching-options.mdwn
git-annex-maxsize.mdwn maxsize of 0 to disable 2024-09-09 09:32:43 -04:00
git-annex-merge.mdwn
git-annex-metadata.mdwn
git-annex-migrate.mdwn
git-annex-mincopies.mdwn
git-annex-mirror.mdwn
git-annex-move.mdwn
git-annex-multicast.mdwn
git-annex-numcopies.mdwn
git-annex-oldkeys.mdwn
git-annex-p2p.mdwn
git-annex-p2phttp.mdwn p2phttp: Allow unauthenticated users to lock content by default 2024-10-21 10:02:12 -04:00
git-annex-post-receive.mdwn update 2024-08-07 11:49:53 -04:00
git-annex-pre-commit.mdwn
git-annex-preferred-content.mdwn treat "not present" in preferred content as invalid 2024-09-03 13:50:06 -04:00
git-annex-proxy.mdwn
git-annex-pull.mdwn
git-annex-push.mdwn initial support for annexobjects=yes 2024-08-02 14:07:45 -04:00
git-annex-readpresentkey.mdwn
git-annex-registerurl.mdwn
git-annex-reinit.mdwn
git-annex-reinject.mdwn
git-annex-rekey.mdwn
git-annex-remotedaemon.mdwn
git-annex-renameremote.mdwn
git-annex-repair.mdwn
git-annex-required.mdwn
git-annex-reregisterurl.mdwn
git-annex-resolvemerge.mdwn
git-annex-restage.mdwn
git-annex-rmurl.mdwn
git-annex-satisfy.mdwn initial support for annexobjects=yes 2024-08-02 14:07:45 -04:00
git-annex-schedule.mdwn
git-annex-semitrust.mdwn
git-annex-setkey.mdwn
git-annex-setpresentkey.mdwn
git-annex-shell.mdwn
git-annex-sim.mdwn sim: document interruption and concurrency issues 2024-09-26 12:26:47 -04:00
git-annex-smudge.mdwn
git-annex-status.mdwn
git-annex-sync.mdwn
git-annex-test.mdwn
git-annex-testremote.mdwn
git-annex-transferkey.mdwn
git-annex-transferkeys.mdwn
git-annex-transferrer.mdwn
git-annex-trust.mdwn
git-annex-unannex.mdwn
git-annex-undo.mdwn
git-annex-ungroup.mdwn
git-annex-uninit.mdwn
git-annex-unlock.mdwn
git-annex-unregisterurl.mdwn
git-annex-untrust.mdwn
git-annex-unused.mdwn
git-annex-updatecluster.mdwn layout 2024-06-27 15:52:58 -04:00
git-annex-updateproxy.mdwn updateproxy, updatecluster check annexobjects=yes 2024-08-07 12:27:24 -04:00
git-annex-upgrade.mdwn
git-annex-vadd.mdwn
git-annex-vcycle.mdwn
git-annex-version.mdwn
git-annex-vfilter.mdwn
git-annex-vicfg.mdwn
git-annex-view.mdwn
git-annex-vpop.mdwn
git-annex-wanted.mdwn
git-annex-watch.mdwn
git-annex-webapp.mdwn
git-annex-whereis.mdwn
git-annex-whereused.mdwn
git-annex.mdwn documentation for git-annex sim 2024-09-04 15:03:17 -04:00
git-remote-annex.mdwn
git-remote-tor-annex.mdwn
git-union-merge.mdwn
how_it_works.mdwn
index.mdwn
install.mdwn
internals.mdwn implement maxsize log and command 2024-08-11 15:41:26 -04:00
license.mdwn
location_tracking.mdwn
logo-old-bw.svg
logo-old.png
logo-old.svg
logo-old_small.png
logo-with-cli.png
logo-with-cli.svg
logo.mdwn
logo.svg
logo_16x16.png
logo_32x32.png
logo_small.png
meta.mdwn
metadata.mdwn
news.mdwn
not.mdwn
polls.mdwn
preferred_content.mdwn balanced preferred content and --rebalance 2024-08-09 14:16:09 -04:00
privacy.mdwn remove mention of XMPP which is no longer used 2024-06-27 15:56:30 -04:00
profiling.mdwn
projects.mdwn
publicrepos.mdwn
related_software.mdwn 2024-07-16 15:42:54 +00:00
repomap.png
required_content.mdwn
scalability.mdwn
security.mdwn
shortcuts.mdwn
sidebar.mdwn
sims.mdwn adds sims collection 2024-09-23 13:43:55 -04:00
sitemap.mdwn
special_remotes.mdwn
stickers.mdwn
submodules.mdwn
summary.mdwn
sync.mdwn
testimonials.mdwn
thanks.mdwn
tips.mdwn
todo.mdwn
transferring_data.mdwn
trust.mdwn
tuning.mdwn fix typo 2024-09-03 14:23:14 -04:00
upgrades.mdwn
users.mdwn
videos.mdwn
walkthrough.mdwn
workflow.mdwn