[GH-ISSUE #472] Question: can anon access be disabled? #310

Closed
opened 2026-03-01 14:42:20 +03:00 by kerem · 3 comments
Owner

Originally created by @zblesk on GitHub (Sep 9, 2020).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/472

I just found ArchiveBox today and will gladly scrap my homebrew archival solution. Great work!

I definitely don't want to have my archive exposed to the world, though. I need the user to be logged in befoe accessing anything. Can this be turned on? I haven't found anything like this so far.

Thanks again!

Originally created by @zblesk on GitHub (Sep 9, 2020). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/472 I just found ArchiveBox today and will gladly scrap my homebrew archival solution. Great work! I definitely don't want to have my archive exposed to the world, though. I need the user to be logged in befoe accessing anything. Can this be turned on? I haven't found anything like this so far. Thanks again!
kerem closed this issue 2026-03-01 14:42:20 +03:00
Author
Owner

@apkallum commented on GitHub (Sep 10, 2020):

There are a few relevant options depending on how you want to configure it. For now, there is PUBLIC_INDEX & PUBLIC_SNAPSHOTS, both of which you can set to False. In the next release (0.5) which should be this week, there will be an option to also enable or disable a the add view for non-logged in users.

<!-- gh-comment-id:690537737 --> @apkallum commented on GitHub (Sep 10, 2020): There are a few relevant options depending on how you want to configure it. For now, there is `PUBLIC_INDEX` & `PUBLIC_SNAPSHOTS`, both of which you can set to `False`. In the next release (0.5) which should be this week, there will be an option to also enable or disable a the add view for non-logged in users.
Author
Owner

@zblesk commented on GitHub (Sep 10, 2020):

Thank you! Seems to work!

I can't find any docs for that. WHat happens if I disable Index but enable Snapshots? Will I be able to hotlink articles, but only logged in users will be able to search/see the list?
Is that a supported use-case?

<!-- gh-comment-id:690612660 --> @zblesk commented on GitHub (Sep 10, 2020): Thank you! Seems to work! I can't find any docs for that. WHat happens if I disable Index but enable Snapshots? Will I be able to hotlink articles, but only logged in users will be able to search/see the list? Is that a supported use-case?
Author
Owner

@pirate commented on GitHub (Sep 13, 2020):

Yes, that is a supported use case, and it should work exactly as you described.

PUBLIC_SNAPSHOTS = anon users can view hotlinked archived sites
PUBLIC_INDEX = anon users can view the full archive index

It's not in the docs yet because these config values are not stable, and will change quite soon when we refactor the permissions model.
The future design will likely be something like anon: rwx, user: rwx, admin: rwx or follow the Django standard permissions model.

<!-- gh-comment-id:691599775 --> @pirate commented on GitHub (Sep 13, 2020): Yes, that is a supported use case, and it should work exactly as you described. `PUBLIC_SNAPSHOTS` = anon users can view hotlinked archived sites `PUBLIC_INDEX` = anon users can view the full archive index It's not in the docs yet because these config values are not stable, and will change quite soon when we refactor the permissions model. The future design will likely be something like `anon: rwx, user: rwx, admin: rwx` or follow the Django standard permissions model.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#310
No description provided.