How to use the CAS system on the back end from a given state?

naholt shared this question 3 years ago
Answered

Hey, I'm making a standardised testing platform web-app and want to compare the applet state to a correct formula on the back end.

Basically I'm giving the user state X. And I question them to change the state to answer the given question.

Example: put Line B parallel to line A

Then I send their given changed state to the back-end where I want to compare it to the correct formula.Now I can do this directly through the JavaScript Apps API using evalCommandCAS(theCorrectFormula). but sending the right answer to the front-end isn't secure.

So do/should I do this?

Comments (1)

photo
2

Please email support@geogebra.org, we have a few ideas you might be interested in :)

© 2021 International GeoGebra Institute