Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by SFGolfer on Apr 24, 2009 04:34
open dhtmlx forum
Allow editing grid only to authorized users

Is it possible to allow editing to only authorized users?

I would like to limit editing, add row and delete row only to certain users in a Windows domain.
Answer posted by Support on Apr 24, 2009 06:29
While you can enable or disable mentioned operations through API of grid, doing it only on client side would be unwise. JS code can be altered on the fly with very small efforts. ( so, removing such kind of check on client side is very easy ) 
The good solution must double-check is operation allowed or not on server side, before making changes in DB or other kind of data source.