Skip to content
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

Disable anonymous file upload #2484

Closed
staticdreams opened this issue Aug 8, 2016 · 2 comments
Closed

Disable anonymous file upload #2484

staticdreams opened this issue Aug 8, 2016 · 2 comments
Labels
type:feature New feature or improvement of existing feature

Comments

@staticdreams
Copy link

staticdreams commented Aug 8, 2016

Describe your issue in as much detail as possible.

Similar to issue #39 I'd like to be able to disable file upload via rest to all anonymous sources.

Steps to reproduce

Please include a detailed list of steps that reproduce the issue. Include curl commands when applicable.

As suggested, client keys are no longer needed, so I'm just using master key and AppId.

Running something similar to this:

curl -X POST -H "X-Parse-Application-Id: appId" -H "Content-Type: text/plain" -T "hello.txt" https://localhost/myApp/parse/files/hello.txt

would upload a file without any problems. I don't want people uploading random stuff. How would I disable file upload (to anonymous sources) ?

@flovilmart
Copy link
Contributor

While we don't support that right now, we welcome pull requests.

@montymxb
Copy link
Contributor

Until someone puts up a PR for restrictions I'll be closing this out. This is the intended functionality and is how it was with the original parse.com api as well. If this is still an issue let us know and we'll pop this back open.

@mtrezza mtrezza added type:feature New feature or improvement of existing feature and removed type:improvement labels Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or improvement of existing feature
Projects
None yet
Development

No branches or pull requests

4 participants