我应该阻止用户选择哪些子域?

发布于 2024-08-12 10:36:12 字数 205 浏览 6 评论 0原文

我们正在创建一款符合当今趋势的应用程序,让用户选择自己的子域。

xxx.company.com

随着这种情况变得越来越普遍,最好编制一个子域列表,应防止用户出于技术/安全原因(例如:www)或礼仪(例如:性别)。

这个问题是社区维基,所以请编辑以添加您的建议。

We're creating one of those apps which is trend-of-the-day-compliant, letting users select their own subdomain.

xxx.company.com

As this is becoming common, it would be good to compile a list of subdomains which should be prevented from allowing users to select either for technical/security reasons (eg :www) or etiquette (eg: sex).

This question is community wiki, so please edit to add your suggestions.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

云醉月微眠 2024-08-19 10:36:12

只是关于建议过滤脏话的说明。

一般来说,只有当您确实确定目标受众的母语时,脏话过滤器才有意义。否则,您可能会让您的国际客户生气:可能有些英语单词在另一种语言中是亵渎的(没有机会找到所有这些单词),而您过滤掉的单词在其他语言中可能是完全有效的单词。当《模拟人生 3》发布时,EA 论坛过滤掉了“damit”一词,但他们在本地化论坛上也这样做了,而“damit”在德语中是一个非常常见的词。这使得写任何东西都变得困难。 “性”在瑞典语中也有“六”的意思。

如果仅涉及子域,这可能是问题,也可能不是问题。我只是要小心,并且仅出于技术和安全原因(或诸如您自己的商标/产品之类的原因)而阻止单词。

明智的做法可能是为没有任何子域的用户事物使用特殊域,并为您需要的任何子域使用不同的域。这样,您根本不需要阻止“用户”域上的子域名。

Just a note about the suggested filtering of profanity.

In general, a profanity filter only makes sense if you are really sure about the native language of the target audience. Otherwise you may make your international customers angry: There may be English-language words that are a profanity in another language (no chance to find all of them), and words you filter out may be perfectly valid words in other languages. When Sims 3 was released, the EA forums filtered out the word "damit", but they did that on the localized forums as well, and "damit" is a very common word in German. This made it hard to write anything. "Sex" also means "six" in Swedish.

This may or may not be an issue if it's just about subdomains. I'd just be careful and rather only block words for technical and security reasons (or things like your own trademarks/products or something).

It may be wise to use a special domain for the user things that does not have any subdomains, and use a different domain for whatever subdomains you need. This way, you wouldn't need to block subdomain names on the "user" domain at all.

醉生梦死 2024-08-19 10:36:12
www
register
mail
pop
pop3
test
beta
stage
dev
http
https
sex

以及任何被视为亵渎的词语(此处未列出,以保护无辜者)

www
register
mail
pop
pop3
test
beta
stage
dev
http
https
sex

And any words considered as profanity (not listed here to protect the innocent)

北方的韩爷 2024-08-19 10:36:12
smtp
webmail
ftp
smtp
webmail
ftp
深居我梦 2024-08-19 10:36:12

我们有一个聪明的用户注册了localhost。可能是一个真正的安全问题。

还有dns

We have a clever user who registered localhost. May be a real security issue.

also dns

风月客 2024-08-19 10:36:12
abuse
admin
donate
store
payment
abuse
admin
donate
store
payment
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文