Knowing that
Server always validates the data before saving it.
Browser app is generating the data based on user input and some business logic and is storing it locally.
Browser app then synchronize with server to save locally generated data and fetch other data generated by other users.
Is it secure to keep data is local database (websql)?