On 6/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi there, > > A newbie question, so sorry if this is easy. I had a look through the > forum and didn't see the answer. > > I have an area on my app where the user votes by clicking on an > image. Via AJAX, this updates a DIV with stats elsewhere on the > page. The link looks like this: > > http://domain.com/competitions/vote/27 > > How do I prevent someone from voting by manually entering this URL? > Should I change the voting area to a form? I noticed there was a > security component on the forum but some folks weren't happy with it. > > I'm sure everyone's had a similar situation in their app. How did you > go about securing it? > > Cheers, > Wilson
Maybe you can try isAjax method (please refer to CakeManual) I never use it, but I think it worth to try... :) -- ======================== Y!M id: riky.kurniawan LinkedIn: http://www.linkedin.com/in/rikykurniawan Friendster: http://www.friendster.com/rikyknwn Personal blog: http://riky.kurniawan.us ======================== --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
