Quick revision
The short answer
I would frame it as a business decision about value against risk, not a purely technical one: how much the public links are worth to the company, against the abuse rate and the damage to our brand and domain reputation. Then I would lay out options between keeping it fully open and shutting it down, such as restricting creation to verified users, scanning links, showing interstitial warnings or allowing only internal domains, check our legal obligations for abuse reports, and budget for trust and safety operations. The decision is made with security, legal and product, recorded, and reviewed against abuse metrics.
What to remember
In this answer, we treated the phishing problem as a decision about value against risk, gathered abuse and value metrics before choosing, compared verification, scanning, warnings, allowlists and shutdown, asked legal which abuse obligations apply, budgeted for trust and safety as an ongoing operation, and made the decision jointly with clear metrics and triggers for reviewing it.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
I would frame it as a business decision about value against risk, not a purely technical one: how much the public links are worth to the company, against the abuse rate and the damage to our brand and domain reputation. Then I would lay out options between keeping it fully open and shutting it down, such as restricting creation to verified users, scanning links, showing interstitial warnings or allowing only internal domains, check our legal obligations for abuse reports, and budget for trust and safety operations. The decision is made with security, legal and product, recorded, and reviewed against abuse metrics.
Why this question is asked
Link shorteners attract phishing because they hide the real destination behind a trusted domain. When attackers use our domain, the harm spreads beyond the victims: email providers and browsers start flagging our domain, and legitimate links, including our own marketing, get blocked. The security team's question is therefore fair. Interviewers ask it at this level to see whether a senior leader can avoid both easy answers, ignoring the problem and killing the product, and instead run a decision with the right people and facts. In this answer, we will frame the decision, gather the facts, compare the options, look at legal duties and trust and safety costs, and then make and review the decision.
1Framing the Decision
The question looks technical but is really a trade-off between two things the company values. On one side is the business value of public links: how many users create them, whether they bring sign-ups or revenue, and whether the feature is strategic or a leftover. On the other side is risk: harm to people who are phished, damage to our brand when our name appears in phishing reports, and damage to our domain reputation, which can affect every product that shares it.
So I would write down the question in those terms before discussing solutions: is the value of an open public shortener higher than the cost of operating it safely? Framing it that way avoids an argument between security, which sees the risk, and product, which sees the usage, because both sides are now inputs to the same calculation.
2Gathering the Facts
Next, facts. I would ask for abuse metrics for the last three months: the share of new links later confirmed malicious, the number of abuse reports per week, the median time from report to takedown, and whether our domain has appeared on blocklists. I would also ask who creates the bad links: anonymous users, new free accounts, or compromised paid accounts, because each points to a different fix.
On the value side, I would ask product for active creators, links created by paying customers, and the revenue or sign-ups that depend on public creation. A typical finding is that a small share of anonymous creation produces most of the abuse, while most of the value comes from logged-in or paying users. That kind of finding often makes the decision much easier.
3The Options Between Open and Closed
Rarely is the choice simply keep or shut down. There is a range of options, and they can be combined. Each reduces abuse by a different amount and costs something different, in engineering work, in friction for good users, or in operations.
| Option | Effect on abuse | Cost |
|---|---|---|
| Verified users only | removes anonymous abuse | friction at sign-up, fewer casual users |
| Scan links at create and click | blocks known bad URLs | scanning service, misses new domains |
| Interstitial warning page | warns victims before redirect | extra click for good users |
| Internal domains only | almost no public abuse | public use case disappears |
| Shut down public links | no abuse | lose value and existing links |
Notice that the options target different parts of the abuse funnel. Verification raises the cost of creating a link at all, scanning catches known bad destinations, interstitial warnings protect victims when scanning misses, and an allowlist removes the public surface completely. A common outcome is to require verified accounts for creation, scan at creation and at click time, show a warning page for links from new accounts, and keep an allowlist-only mode ready for an emergency.
4Legal Obligations Around Abuse Reports
We also need legal input, because running a public link service creates duties. In many jurisdictions, a service that hosts or forwards third-party content must act on credible abuse reports within a reasonable time, keep records, and sometimes respond to law enforcement requests. The exact obligations differ by country and change over time; the European Union's Digital Services Act, for example, sets notice-and-action rules for some online services. I would ask legal to tell us which apply to us, rather than guessing.
That input shapes the design: we may need an abuse reporting form, a documented response time, logs of who created which link kept for a defined period, and a way to disable links quickly. If we cannot meet these duties, that is itself a strong argument for restricting the service.
5Trust and Safety Is an Operation
The common mistake is to treat abuse as an engineering feature: build a scanner, ship it, done. In practice, someone must review reports every day, investigate patterns, handle appeals from legitimate users whose links were blocked, and respond to blocklist providers. That is a team or at least a rota, with tooling and an on-call path.
So the budget must include people and tools, not just a sprint of engineering. If the business value is small, the honest result may be that the cost of operating it safely is higher than the value, and restricting it to internal domains or paying customers is the right decision.
6Deciding Together and Reviewing the Outcome
The decision is made jointly by security, legal and product, with me as the person who brings the technical options and costs. I would write it as a short decision record: the chosen options, the expected abuse reduction, the cost, and the metrics we will watch. Clear triggers make the review concrete, for example: if the confirmed malicious share stays above 0.5 percent after three months, or our domain lands on a major blocklist, we move to the next restriction level.
- Frame value against riskbrand, domain reputation, user harm
- Gather factsabuse rate, who creates bad links, value by segment
- Lay out options and costsverification, scanning, warnings, allowlist
- Check legal dutiesabuse reports, records, response times
- Decide with security, legal, productrecord it with metrics and triggers
- Abuse under target after review?YesKeep the current levelNoMove to the next restriction
6 steps in order. Play them, or step through them one at a time.
7Follow-up questions
What if product insists the public shortener is a growth channel?
Then we test that claim with data: sign-ups and revenue attributed to public link creation. If it really drives growth, it justifies funding trust and safety properly; if not, the restriction costs little. Either way, the decision follows the numbers rather than opinions.
Should the shortener use a separate domain from the main product?
Usually yes. A separate domain limits the damage to our main domain's reputation when abuse happens, though users may trust it less. It is a cheap change that reduces the blast radius of the worst outcome.
How fast should you be able to disable a malicious link?
Within minutes, for a single link or a whole account, with cache invalidation so the redirect stops everywhere. Speed matters because phishing campaigns do most of their damage in the first hours.
8Conclusion
In this answer, we treated the phishing problem as a decision about value against risk, gathered abuse and value metrics before choosing, compared verification, scanning, warnings, allowlists and shutdown, asked legal which abuse obligations apply, budgeted for trust and safety as an ongoing operation, and made the decision jointly with clear metrics and triggers for reviewing it.
Open with
I would first reframe it: this is not only a security question, it is whether the value of public links is higher than the cost of running them safely, including harm to victims and damage to our brand and domain reputation, which can hurt every product on that domain.
Then, if they want more
Then I would get facts: what share of new links turn out malicious, how many reports we get and how fast we act, whether our domain is on blocklists, and who creates the bad links, because often a small anonymous segment causes most abuse while paying users bring most of the value.
With that, I would present options rather than keep or kill: verified users only, scanning at creation and click time, an interstitial warning for risky links, or restricting to internal domains, often combined. I would ask legal what obligations we have to act on abuse reports and keep records, because that shapes what we must build.
And I would budget for trust and safety as an operation, people reviewing reports and handling appeals, not just a scanner. The decision gets made together with security, legal and product, written down with metrics and triggers, and reviewed after a few months.
About this answer
- Last updated
- 12 November 2026
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the official documentation for the version you use. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "Your company's link service has become a target for phishing links, and the security...": https://scrivio-interview-library.netlify.app/architecture/backend-system-design/418824ce25/