List of trusted and non-trusted domains - this warning may appear before opening a domain not included in the list #668
rozsazoltan
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to maintain my own or an open-source list in JSON. For example, the application could visit the URL once a day and download the trusted and non-trusted domains.
For trusted domains, no action is needed. For non-trusted domains, I would provide a custom warning message via JSON, and for any domain not listed, a general warning message could be assigned. This way, when the bottom sheet pops up, trusted domains behave as usual, but non-trusted domains would trigger an additional warning that the user must acknowledge, potentially discouraging them from opening the link.
The application could also ship some non-trusted domains by default, such as all URL shorteners, which can potentially hide scam or malicious content.
Using regex would also be helpful, so we wouldn’t have to list many domains as non-trusted individually if they follow a certain pattern.
This feature could help combat potentially harmful links received via SMS or email.
e.g.:
{ "trusted": [ "facebook.com", "twitter.com", "instagram.com", "linkedin.com", "youtube.com", "tiktok.com", "reddit.com" ], "non_trusted": [ { "domain": "bit.ly", "warning": "This is a URL shortener. The destination might be unsafe or hide malicious content. Proceed with caution." }, { "domain": "tinyurl.com", "warning": "Shortened links can be used to hide unsafe destinations. Make sure you trust the source." }, { "domain": "goo.gl", "warning": "This link shortening service may hide the real destination. Be careful before opening." }, { "domain": "malicious-example.com", "warning": "This domain is known for scam or phishing attempts. Do not open links from this domain." }, { "domain": "phishing-site.net", "warning": "This domain may contain harmful content. Avoid clicking links from here." }, { "domain": "untrusted-example.org", "warning": "Potentially unsafe domain. Verify the link source before opening." } ], "other": { "warning": "" // Empty warning means no alert is needed for domains not explicitly listed } }Beta Was this translation helpful? Give feedback.
All reactions