[GH-ISSUE #14] Anyone can delete the paste #10

Closed
opened 2026-02-27 10:15:17 +03:00 by kerem · 5 comments
Owner

Originally created by @vitobotta on GitHub (Jan 26, 2023).
Original GitHub issue: https://github.com/matze/wastebin/issues/14

Hi, I just noticed that anyone with the link can delete the paste as there is no restriction at all. Is this intentional?

Originally created by @vitobotta on GitHub (Jan 26, 2023). Original GitHub issue: https://github.com/matze/wastebin/issues/14 Hi, I just noticed that anyone with the link can delete the paste as there is no restriction at all. Is this intentional?
kerem closed this issue 2026-02-27 10:15:17 +03:00
Author
Owner

@matze commented on GitHub (Jan 26, 2023):

Yes, because there is no authentication mechanism in place. But I could set a cookie to allow deletion only from the browser that made the paste. But I am not sure if that would then require a pesky cookie banner which I'd like to avoid if possible.

<!-- gh-comment-id:1405646988 --> @matze commented on GitHub (Jan 26, 2023): Yes, because there is no authentication mechanism in place. But I could set a cookie to allow deletion only from the browser that made the paste. But I am not sure if that would then require a pesky cookie banner which I'd like to avoid if possible.
Author
Owner

@vitobotta commented on GitHub (Jan 26, 2023):

The cookie would work well I think

<!-- gh-comment-id:1405661328 --> @vitobotta commented on GitHub (Jan 26, 2023): The cookie would work well I think
Author
Owner

@matze commented on GitHub (Jan 26, 2023):

I am not a lawyer but from what I can tell, purely functional cookies that require a site to function do not imply a cookie banner. So good chance I will start implementing this soon.

<!-- gh-comment-id:1405705867 --> @matze commented on GitHub (Jan 26, 2023): I am not a lawyer but from what I can tell, purely functional cookies that require a site to function do not imply a cookie banner. So good chance I will start implementing this soon.
Author
Owner

@vitobotta commented on GitHub (Jan 27, 2023):

That's awesome @matze - looking forward to it :)

<!-- gh-comment-id:1406188429 --> @vitobotta commented on GitHub (Jan 27, 2023): That's awesome @matze - looking forward to it :)
Author
Owner

@matze commented on GitHub (Jan 27, 2023):

I've pushed a branch that I will likely merge tomorrow. Works alright so far.

<!-- gh-comment-id:1407059027 --> @matze commented on GitHub (Jan 27, 2023): I've pushed a branch that I will likely merge tomorrow. Works alright so far.
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/wastebin-matze#10
No description provided.