Skip to content

Secure _GLOBALCONFIG table #2011

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
neophob opened this issue Jun 8, 2016 · 3 comments
Closed

Secure _GLOBALCONFIG table #2011

neophob opened this issue Jun 8, 2016 · 3 comments

Comments

@neophob
Copy link
Contributor

neophob commented Jun 8, 2016

Issue Description

The _GLOBALCONFIG table is used to save Config values when using Parse Dashboard. As I use the values stored in this table only in Cloud Code I would prevent access from users (like remove all CLP permissions). Currently its world readable:

  let query = new Parse.Query('_GlobalConfig');
  query.limit(4);
  return query.find({})
    .then(msg => {
      return msg;
    })

Result:

_GLOBALCONFIG table reads:
  [ ParseObject { _objCount: 11, className: '_GlobalConfig', id: '1' } ]

This issue also might affect the _PushStatus and __JOBS__ tables.

Environment Setup

  • Server
    • parse-server version: 2.2.11
@drew-gross
Copy link
Contributor

This is the intended behaviour, as Parse Config is designed to be used by the clients. If you want to submit a PR that allows you to have private config, we would gladly accept it!

@neophob
Copy link
Contributor Author

neophob commented Jun 8, 2016

Ok I see - what about the _PushStatus and __JOBS__ tables?

@drew-gross
Copy link
Contributor

_PushStatus already requires the master key. Jobs is not in the _SCHEMA so it should be fine.

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

No branches or pull requests

2 participants