logoalt Hacker News

EGreg • today at 12:41 AM • 2 replies • view on HN

I am about to launch a shortener. And I only allow redirection to the top 10k domains.


Replies

dspillett • today at 12:57 AM

That won't necessarily protect you. Many of the top 10K domains allow user content I assume, so if you don't have your own 24/7 safety department you are relying on theirs.

If you aren't already, make sure you check your whitelist of domains against the PSL¹ to make sure you know where having some trust in a domain definitely doesn't mean that a subdomain of it can be similarly trusted.

--------

[1] https://en.wikipedia.org/wiki/Public_Suffix_List

➕ show 1 reply
etherlink • today at 2:45 AM

[dead]