If you're going to open up your data to be edited by the public, you need to be prepared for trouble. From bad data input to malicious attacks, you, as a developer, need to account for things going wrong. Luckily, ArcGIS Server and the ArcGIS API for JavaScript can help.
I remember a project where we had to let users search for addresses based on a list provided by another system. The other system had no restrictions on what the user could enter. As a result, the address list was anything but normal. On a given street, there could be fifteen different ways the street name could be listed. Some were all caps, while others had "Rd" instead of "Road" Others were misspelled, one m instead of two, and some had too many spaces between the street name and the suffix. Needless to say, the data was poorly constructed and unstandardized.
ArcGIS Server provides some tools to help you restrict user input. Implementing coded value domains and ranges in the...