We utilize ParseServer in our mobile application and are currently evaluating potential security risks associated with its use.
Every REST API request includes a sessionToken, which is employed to authorize the request on the Parse server and identify the user sending the request. Given that the sessionToken is a long-term token, there’s a concern that if someone were to gain unauthorized access to our _Session table in the database, they could potentially make API calls on behalf of any user.
Are there any measures or future plans in place to enhance session management security?
Parse Server offers you the versatility to implement your own authentication adapter that meets your specific security requirement. There is also a number of authentication adapters built-in that you can use - and possibly customize - for your needs.
I’m not seeing an IP Address field on the Session Token object. I thought it might be related to the Installation ID, so I checked that table as well but on IP Address field there either. How are you albe to check the IP Address for a given Session Token?