Should I use DataStore2 does it prevent data leakages?

Hi everyone,

Should I use DataStore2? Does it prevent Data leaks? Is it recommended for all Roblox scripters?

It all depends on your use case, if you want to be more free with how you use data stores, then don’t use DataStore2. DataStore2 is simply a module to handle player-based data that helps prevent data loss (notice helps, it cannot guarantee total data loss protection). If you don’t want to be tied to that limitation, then don’t use it. There is also ProfileService, which is handles session-locking, and a few more things, and is also a bit more free in that it doesn’t tie you down to player-based data only, but I guess both modules have different goals.

And “data leakage” would be, literal leaking of data, usually through a vulnerability. Although that hasn’t been a problem on Roblox, since you shouldn’t be storing sensitive info in data stores anyway. I believe you meant “data loss”.

Ok,

Thanks for your reply :slight_smile: