# Is it secure to allow players to share custom content with each other?

**URL:** <https://forums.unrealengine.com/t/is-it-secure-to-allow-players-to-share-custom-content-with-each-other/1219871>\
**Category:** Multiplayer & Networking\
**Tags:** security, unreal-engine, question\
**Created:** [July 5, 2023, 7:14am UTC](https://forums.unrealengine.com/t/is-it-secure-to-allow-players-to-share-custom-content-with-each-other/1219871 "2023-07-05T07:14:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![KiwiSkyLLC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KiwiSkyLLC](https://forums.unrealengine.com/u/KiwiSkyLLC)\
**Post date:** [July 5, 2023, 7:14am UTC](https://forums.unrealengine.com/t/is-it-secure-to-allow-players-to-share-custom-content-with-each-other/1219871/1 "2023-07-05T07:14:41Z")

</div>

Hello all,

We are thinking about developing a game centered around user generated content. This would include levels, avatars (characters), etc. How safe is it to allow users to share this content with each other? For example, could someone theoretically package malicious code in a level, then when another player downloads and loads that level, could the malicious code be executed by the player’s device? If so, how can we sandbox or protect against this? Excuse me if this is a bad question, I’m very new to unreal engine, and am still in the process of training.

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [July 5, 2023, 11:46pm UTC](https://forums.unrealengine.com/t/is-it-secure-to-allow-players-to-share-custom-content-with-each-other/1219871/2 "2023-07-05T23:46:49Z")

</div>

You can pack malicious code into just about everything. Only way around it is to have in-house devs validate each asset before it’s allowed.

---

<div class="post-metadata">

**Author:** ![KiwiSkyLLC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KiwiSkyLLC](https://forums.unrealengine.com/u/KiwiSkyLLC)\
**Post date:** [July 10, 2023, 4:11am UTC](https://forums.unrealengine.com/t/is-it-secure-to-allow-players-to-share-custom-content-with-each-other/1219871/3 "2023-07-10T04:11:00Z")

</div>

Would it be technically possible to implement something that blocks users from using custom scripting except for some whitelisted functions? Could this be done with something like an SDK that the users have to install to develop for the game? We’d have to ensure, then, that the users can’t modify the SDK and add custom scripting to the content. Or maybe there’s a way to validate server-side (after the content is uploaded to our servers) that there is no custom scripting, so there’s no chance of users tampering with the checks. Is any of this possible to implement? I’ll be researching these questions on my own, but it would be nice if anyone is able to help. Again, sorry if these are bad questions.

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [July 10, 2023, 4:36am UTC](https://forums.unrealengine.com/t/is-it-secure-to-allow-players-to-share-custom-content-with-each-other/1219871/4 "2023-07-10T04:36:46Z")

</div>

Search “Modding Support” on the forums.

---

<div class="post-metadata">

**Author:** ![KiwiSkyLLC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KiwiSkyLLC](https://forums.unrealengine.com/u/KiwiSkyLLC)\
**Post date:** [July 10, 2023, 4:39am UTC](https://forums.unrealengine.com/t/is-it-secure-to-allow-players-to-share-custom-content-with-each-other/1219871/5 "2023-07-10T04:39:00Z")

</div>

Thank you so much! Not sure why I didn’t think of that. Should I mark this question as solved, or come back when I have a method of allowing users to share content with each other?

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [July 10, 2023, 4:39am UTC](https://forums.unrealengine.com/t/is-it-secure-to-allow-players-to-share-custom-content-with-each-other/1219871/6 "2023-07-10T04:39:36Z")

</div>

I’d close it.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [August 9, 2023, 4:39am UTC](https://forums.unrealengine.com/t/is-it-secure-to-allow-players-to-share-custom-content-with-each-other/1219871/7 "2023-08-09T04:39:54Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
