How to verify a string?

by Charles Bamford   Last Updated October 19, 2019 02:07 AM

I have a link on a view that opens a modal form. When the form closes, I need to ajax rebuild the view. To accomplish this, I've added a url query to the link to create an ajax replace response containing the correct view. The problem I'm concerned about is that the string contains the view id, display id and arguments for the view and is viewable by the user. How should I protect this string so that I can be sure the one I get from the user is the one I sent to the user?

I would prefer to not store a token, but I can if that is the best solution.

Tags : 8 ajax security

Related Questions

Updated April 30, 2017 23:07 PM

Updated October 24, 2017 14:07 PM

Updated May 29, 2016 08:03 AM

Updated April 14, 2015 02:32 AM