Hi,

when I use scaffolding, the edit forms contain a hidden field with the
id of the current entry.

So at post the app knows which entry has to be updated.

But if a user manipulates the form and posts a different id, another
entry would be updated or created. So in a real world app it would be
a great security risk.

What could I do to prevent it? Storing the id in the session?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to