# Bug 博客：“LastPosted”泄露用户非公开数据，被利用以获取优势

**URL:** <https://meta.discourse.org/t/bug-blog-lastposted-reveals-non-public-data-about-users-exploited-to-gain-advantages/102280>\
**Category:** Feature\
**Created:** [2018 年11 月 18 日 20:44 UTC](https://meta.discourse.org/t/bug-blog-lastposted-reveals-non-public-data-about-users-exploited-to-gain-advantages/102280 "2018-11-18T20:44:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
发布日期： [2018 年11 月 18 日 22:33 UTC](https://meta.discourse.org/t/bug-blog-lastposted-reveals-non-public-data-about-users-exploited-to-gain-advantages/102280/2 "2018-11-18T22:33:29Z")

</div>

> [@Wintermute](#):
>
> I belong to a community that uses a Discourse website to play [_Werewolf_](https://en.wikipedia.org/wiki/Mafia_(party_game)), a common online forum and party game

That’s a cool use for Discourse that I’ve never considered!

> [@Wintermute](#):
>
> The “Last Posted” field on the user profile updates when a user sends a private message or posts in a private subforum

A lot of communities use personal messages and private subforums a lot, and so updating `last_posted_at` would be expected behaviour, and wouldn’t really be considered an exploit.

In your very specific case, you could make use of the new “Hide my public profile and presence features” setting. If users enable that, then their “last\_posted\_at” date will be hidden from other users. You could disable the setting again as soon as the werewolves have been revealed 🐺

You’ll find that setting under the “interface” section of your user preferences.

---

_[View the full topic](https://meta.discourse.org/t/bug-blog-lastposted-reveals-non-public-data-about-users-exploited-to-gain-advantages/102280)._
