DF for SaaS backend


#1

Hi,

We want to use Dream Factory in the backend of our SaaS platform.
We have our own authentication and authorization mechanism and database.

Now to implement DF should we replicate all users or should we have one master user to retrieve all data ?


#2

That depends on how you want to segment security ( user our role based access).
If you have one master user, every user on your current system has the same rights, and that may very well be fine. If you need to control access using our roles for your users, then you would replicate all users.

We have a user import function , i’d say you just give that a quick try and see if it covers your use cases.


#3

Thank you Jason.
In real usecase, we need to take PHP session ID ( username / email and other) and pass that into query.
How can we protect JS for DSP API key ?