Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
P

pirate

@pirate
About
Posts
3
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • ArchiveBox default installation exposes private data and uploads to archive.org without user consent
    P pirate

    To clarify, no archived data is "uploaded" to Archive.org, only URLs are sent to them, and they only archive things that are publically accessible on the web (which they could arguably find through other means). If the URL requires cookies or a login of any kind, they do not archive it or store the URL.

    Here are more in-depth explanations for the reasoning behind this default:

    • https://news.ycombinator.com/item?id=26866689
    • https://github.com/ArchiveBox/ArchiveBox#archiving-private-content
    • https://github.com/ArchiveBox/ArchiveBox/wiki/Security-Overview

    In summary, ArchiveBox in its default mode should not be used on anything other than public URLs. We cannot make private mode the default (which would imply it's safe for novice users) because of this major security risk it incurs: https://github.com/ArchiveBox/ArchiveBox#security-risks-of-viewing-archived-js (as is explained in several locations in the docs).

    If you are bold enough to attempt archiving private content, there is an detailed process involving reading about the security risks, setting up HTTPS ingress / separate domains content and the admin UI, changing UI permissions, setting up an admin user, changing several defaults, etc. SAVE_ARCHIVE_DOT_ORG=False is just a small piece of the threat model.

    I understand it's a controversial decision that alienates some users, but making it wide-open by default was an intentional choice so users are more immediately aware that it's designed for low-security public archival out-of-the-box, with involved configuration needed to change that.

    If you insist on changing the default cloudron config to be closer to private mode, I ask that you at least force users to read the two docs links I shared above at some point in the setup process to understand that more hardening is needed for safe archival of private data.

    ArchiveBox

  • ArchiveBox on Cloudron - Success!
    P pirate

    Thanks all for your packaging efforts! Let me know how I can help (via ArchiveBox Github issues 😊, as I may not remember to check back here).

    I've improved our LDAP documentation: https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration#ldap
    Note we also have a new ADMIN_USERNAME + ADMIN_PASSWORD env var option to streamline setup: https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration#admin_username--admin_password

    Unfortunately I don't have a lot of experience with LDAP myself, so I may ask for help doing QA if you submit any ArchiveBox PRs to modify the LDAP behavior that you're having problems with.

    ArchiveBox archivebox success testing

  • FWIW, a restart may be necessary after running the User commands under First Time Setup
    P pirate

    Running the archivebox manage createsuperuser command interactively is no longer the only way to create a user, you can now also use the environment variables ADMIN_USERNAME + ADMIN_PASSWORD to setup the admin user automatically on first run as of v0.7.2.

    https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration#admin_username--admin_password

    We also support LDAP for authentication, or custom headers for authentication (when using a reverse proxy that handles auth) using REVERSE_PROXY_USER_HEADER + REVERSE_PROXY_WHITELIST. I'm not sure how Cloudron handles auth, but maybe these are helpful to ya'll.

    • reverse proxy auth info: https://github.com/ArchiveBox/ArchiveBox/pull/866
    • ldap auth info: https://github.com/ArchiveBox/ArchiveBox/pull/1214

    Thanks for your efforts packaging ArchiveBox for Cloudron! I've linked to Cloudron from our README as well btw: https://github.com/ArchiveBox/ArchiveBox/tree/dev#-other-options

    ArchiveBox
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search