-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom share codes #55
Comments
Hello. I thought about this a bit and I see several ways this can be exploited:
I would feel more safe if we would implement this feature but restrict it to admins only. What do you think about this? Do you have other ideas on how to keep the risk of this as low as possible? |
Sure, didn't really thought about this beforehand. To combat these issues, I would implement the following guardrails:
Also, the following options could be considered, but are not necessary.
That would be my idea. Just implementing the feature and locking it for a specific group of users all together would be a bit pointless in my opinion. But feel free to express your thoughts about these suggestions. :) |
Thank you for your thoughts. I am still not sure whether I want users to be able to freely create such vanity URLs, I just think the potential of misuse is a bit too big. No other pastebins have this feature open to the public as far as I am aware and if we would do this, we should think twice about how we do it and how to protect it. |
It would be awesome if you could define a custom code for a created paste.
I think a good way to implement this would be to set an alias which points to the original paste, which still has the ID. This way, the custom code can be changed via the modification key.
The text was updated successfully, but these errors were encountered: