Currently if someone types [SOME_UNSAFE_URL SOME_SAFE_URL] into an IM they can convince a person to click a malicious link that looks entirely safe visually. I propose a way to correct this:
A new Preferences -> Chat -> Chat Windows checkbox called Enable URL Filtering. When unchecked it disables the Allowed URLs button.
A new Preferences -> Chat -> Chat Windows button called Allowed URLs.
When this button is clicked a filter list similar to the Firestorm Media Filter list pops up allowing the user to add or remove allowed domains.
By default the following domains should be allowed:
This way users can perform basic operations like connecting to friends on Discord, visiting support help links on firestorm or secondlife's website, visiting the marketplace, and viewing youtube links.
Beyond that if someone needs to visit additional domains, they need to add them to the allowed filter list. Then if someone were to attempt to hit them with a malicious link, it wouldn't work by default.
I think this would be a quick and efficient way to fix the problem for the most users. I understand this would make things more difficult for any url not on the list, but people could just display those urls as plaintext and users could copy and paste them if they truly want to visit them. And, in this way, they wouldn't be concealed by a malicious clickable link. And, any links added to the filtering allow list would become clickable if desired.
A checkbox which is on by default, could be provided for unchecking to turn off the security feature. But, it should be on default for all users, unless the user chose not to use it. With a warning that pops up when attempting to uncheck explaining why that might not be a great idea that they could then ignore and even "don't show me this warning again."