Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

How to make security check atomic? #140

Open
weilitao opened this issue May 24, 2016 · 2 comments
Open

How to make security check atomic? #140

weilitao opened this issue May 24, 2016 · 2 comments

Comments

@weilitao
Copy link

weilitao commented May 24, 2016

Hello,

Sorry it may be a question not an issue.
From the comment of list method source:
// XXX the security check above is not atomic, so in theory a race condition could
// result in exposing private data

So how to make security check atomic?

@weilitao weilitao changed the title How 同 How to make security check atomic? May 24, 2016
@gdad-s-river
Copy link

gdad-s-river commented Sep 4, 2016

I'm trying to Understand Meteor Todos as well, and I do not know what atomic means, and when there could be a race condition (and of what). I've the same question that @weilitao asked.

@AurelienC
Copy link

@gdad-s-river An atomic operation is an operation realized in one time, not paused by another process.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants