mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2026-04-25 15:05:56 +03:00
[GH-ISSUE #149] Restricting uploading (password protection?) #120
Labels
No labels
Feature request
Feature request
bug
cant reproduce
enhancement
help wanted
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pictshare#120
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @peczony on GitHub (Jun 28, 2023).
Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/149
Hi, thank you for the great work on the project!
I skimmed through the docs and couldn't understand how I could protect my instance from abuse. If it's open to the internet, anyone could host their content, including undesirable content (e.g. porn).
Is there any mechanism I could use to prevent this? I couldn't find any mention of passwords or tokens in the docs which could be used to prevent outside uploads. Ideally I would want to keep the instance only for myself & friends that I trust.
@geek-at commented on GitHub (Jun 29, 2023):
Hey!
At the moment there is only the "ALLOWED_SUBNET" config variable which limits uploads from an IP or IP space you define.
There is also a variable called "UPLOAD_CODE" that's not yet implemented but will act as a token that has to be specified in order to upload
@alexdatur commented on GitHub (Oct 31, 2024):
i do it through nginx
pass secured