mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #113] some sort of access control #90
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#90
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 @aaronpk on GitHub (Apr 18, 2020).
Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/113
Is there any interest in adding some form of access control to limit who can upload files? I'm interested in using this, but I would be the only person I'd want to be able to upload files.
An API key for the upload API would be simple. Some sort of login to limit the web interface would be a bit more work.
@geek-at commented on GitHub (May 3, 2020):
There's a config setting "UPLOAD_CODE" that requires a code (specified in the config) for each upload. It's not yet implemented but will be soon
@thieman commented on GitHub (May 17, 2020):
Alternatively, for my use case it'd be fine if I could use the secret upload URL and then disable the API upload capability entirely. Unless there's a way to do that now that I'm not seeing?
@npalladium commented on GitHub (Jun 4, 2020):
This is something I'm interested in too. (Even disabling the API completely after the upload is done is fine.)
And thanks for the amazing project. Works like a charm with Lemmy.
@geek-at commented on GitHub (Jun 4, 2020):
Since I have discovered that someone has uploaded CSAM (Child sexual abuse material) AGAIN on pictshare.net I'll implement this feature today or in the coming days as I'm sick and tired of sending reports to Interpol
@carcinocron commented on GitHub (Oct 8, 2020):
@geek-at were you able to implement it?
@geek-at commented on GitHub (Oct 9, 2020):
Yes at the moment I have implemented the
ALLOWED_SUBNETConfig field where you can enter a CDIR range for IPs that are allowed to upload. But havent implemented the UPLOAD_CODE config setting yet