You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I meant to encrypt the file so users cannot see what inside the config file physically. Forcing users to use application only to make changes for settings.
In this case, application will have to generate its setting file automatically only on first time uses.
So...
User first time open the app => app generate encrypted setting file for the first time => user make changes on settings => app read changes, apply to the map or struct => encrypted json or any format string => save to config file => user open the app again => app load encrypted config string => decrypt => apply settings to struct or map...
With a middle ware or a center like service, It won't play nice with those built-in methods like *get() or set() config. This has to be modified at the root level of the library, I think.
It would be nice to have a built-in encrypted config file so sometime we are only allow user to change setting directly from the app.
I have 2 function to encrypt and decrypt the string to base64, just not sure how to implement it...
Thought?
The text was updated successfully, but these errors were encountered: