-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Security issue - Public URL contains server url and app id. HTTP request payload contains app id #3636
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
Comments
AppId is just a reference to identify your App out of multiple Apps you are serving from your parse-server. There is no way you can keep it a secret as long as you want your App to talk to the server. To secure your App, you should use ACL's, beforeSave and beforeDelete triggers properly. |
Thanks for answering, @yoterpa and @bohemima. Indeed, the @thphuc You can have a look at the links @bohemima posted - CLPs, ACLs, and master key are the real ways of securing your app's data in the server level. You might also read the docs here: http://parseplatform.org/docs/js/guide/#client-vs-server |
Issue Description
I am using Parse-server as a backend for my website. Every thing looks work well. But when I tried to open the images which are store on my backend, the url of images show server url and app id. Also, when I check the payload of HTTP Request, it shows the app id there.
I think I did something wrong with parse server config but I am not sure. If someone have server url and app id, he can change my database. Is this an issue with Parse or is this my mistake?
Steps to reproduce
From my website, right click on any image > Open Image In New Tab. The image will be opened in new tab, the url of image contains server url and app id.
Expected Results
Somehow to hide or change the server url and app id.
Actual Outcome
The server url and app id are showing.
Environment Setup
Server
Database
Logs/Trace
Include all relevant logs. You can turn on additional logging by configuring VERBOSE=1 in your environment.
The text was updated successfully, but these errors were encountered: