# Embedding with multiple categories?

**URL:** <https://meta.discourse.org/t/embedding-with-multiple-categories/31450>\
**Category:** Feature\
**Created:** [2015 年7 月 26 日 18:53 UTC](https://meta.discourse.org/t/embedding-with-multiple-categories/31450 "2015-07-26T18:53:21Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

作者： ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
发布日期： [2015 年11 月 13 日 17:16 UTC](https://meta.discourse.org/t/embedding-with-multiple-categories/31450/7 "2015-11-13T17:16:47Z")

</div>

> [@fantapop](#):
>
> Would it still be insecure if the category had to pre-exist and if the embed config specified a list of categories each domain would work for?

At that point the worst that could happen is a user creates something in the wrong category. It’s not a security hole but it’s still annoying if your users can troll you that way.

It sounds like there are two ways I could solve this:

1. We add another configuration option which is a relationship between paths on a host and categories.

2. We embed something in the source document that specifies the category. For example a meta tag. When discourse crawls the document it sees the category in the meta and places it there.

Both would require some work but are doable.

---

_[View the full topic](https://meta.discourse.org/t/embedding-with-multiple-categories/31450)._
