Skip to content
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

URL deletion #31

Open
bryanpedini opened this issue Sep 18, 2022 · 4 comments
Open

URL deletion #31

bryanpedini opened this issue Sep 18, 2022 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@bryanpedini
Copy link

Hello,

It would be really helpful to be able to delete old / unused / rotten URLs, to be able to reuse some short-links, to update the URL.

KR,
Bryan.

@adyanth
Copy link
Owner

adyanth commented Sep 19, 2022

Deleting a URL in a URL shortener is generally a bad idea. One example is where URL malware scanners cache the URL to be healthy or not, and a bait and switch can be performed later if URL deletion is allowed. If you have to do it, you can always delete the entry in the SQlite DB, but as I said, that is usually not recommended.

@bryanpedini
Copy link
Author

bryanpedini commented Sep 19, 2022

True, if you plan to leave the URL shortener public and open without any account, audit, or consequences...

False if you plan to use it yourself and/or a couple of friend, or if there are accounts with audit enabled and in case of unauthorized / malware use, you can ban an entire domain from registering an account (you ban the free mail services and all the free .tk & .ml domains, and force users to have their own domain, you see how registering fake accounts start becoming expensive)

@adyanth
Copy link
Owner

adyanth commented Sep 19, 2022

Sorry, I do not think I understand. This software does not have the concept of user accounts or sign ins. Just authentication/authorization for admin login. The protection is more for the receiver of the shortened link where their email provider/antivirus would have scanned the link and deemed it safe.

But if you are using it internally, I guess that does not matter, and reuse of links do become useful. Can be a toggle setting to enable/disable that.

@adyanth adyanth added enhancement New feature or request good first issue Good for newcomers labels Sep 19, 2022
@9021007
Copy link

9021007 commented May 15, 2023

Any update on this? Thank you so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants