# 当前用户操作的逻辑安全

**URL:** https://meta.discourse.org/t/logical-security-over-current-user-actions/171089
**Category:** Development
**Created:** [2020年十一月23日 22:15 UTC](https://meta.discourse.org/t/logical-security-over-current-user-actions/171089 "2020-11-23T22:15:22Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [2020年十一月23日 22:19 UTC](https://meta.discourse.org/t/logical-security-over-current-user-actions/171089/2 "2020-11-23T22:19:49Z")

</div>

> [@feabila](#):
>
> 这样一来，仅凭这一更改，我的系统中的一些操作就会被启用

如果你在本地浏览器中修改信息，这并不会对后端产生任何影响。

用户是通过身份验证令牌登录的，我相信是这样，因此你无法在后端冒充其他任何人：

> [@(Deprecated) List of cookies used by Discourse](https://meta.discourse.org/t/list-of-cookies-used-by-discourse/83690):
>
> no_entry This topic is no longer being updated, and may not contain current information! To understand how Discourse uses cookies, please check the [cookies section of our privacy notice](https://www.discourse.org/privacy#heading--cookies). Name Essential Expires Description Contains personal data email Y Session Used during account creation, login, or password reset to prefill form. Created when E-mail address is provided in URL as a query parameter. Y destination\_url Y Session Used during login to redirect to the requested page. C…

由于无法欺骗服务器，你将无法以其他用户的身份进行任何更改。

一旦你刷新浏览器，本地的更改很可能会被清除。最坏的情况是，你可能会搞乱 JavaScript 应用状态，不得不清除缓存。

---

_[View the full topic](https://meta.discourse.org/t/logical-security-over-current-user-actions/171089)._
