ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Flag Inappropriate

September 16, 2007 2:21am

Subscribe [7]
  • #16 / Sep 23, 2007 5:47am

    Thorvald

    10 posts

    Eh, ok.  I’m not working on this now, but am thinking of a project that would need something like what you initially described.  What did you come up with?

  • #17 / Sep 23, 2007 2:03pm

    Ty Martin

    232 posts

    So far nothing actually. I took Derek’s stuff and implemented a little test thing, but we’re working on other priorities at the moment.

    A flag like I described is most useful for social media sites. Is that what you’re building?

  • #18 / Sep 23, 2007 2:09pm

    Ty Martin

    232 posts

    Hey Derek: I was looking at your code again and realizing that, with your method of accessing the DB directly like that we could enable a lot of quick modifications without stepping through the EE form hoops. My big concern is whether that’s secure or not, as in, couldn’t someone open up a page, look at the javascript’s target/return file, then hit that file over and over while changing the entry_id (that I imagine would be passed as a segment). Is there any way to make it more secure? Am I being paranoid?

  • #19 / Sep 23, 2007 8:59pm

    Derek Jones

    7561 posts

    Depends on what type of security and restrictions you need.  From your description, it didn’t sound like an issue as you wanted anyone to be able to change the status, correct?  Obfuscation methods might help (encrypted form, encrypted javascript), but in the end are not real security.

  • #20 / Sep 23, 2007 9:08pm

    Ty Martin

    232 posts

    True true, although I’m not sure how to do an encrypted form. It would be nice to know how to utilize EE’s form handling to do this though.

    The great thing about using urls to pass entry_ids and such is the versatility (it’s RESTful, no?). It’s just not very secure if a user can start swapping out url segments.

  • #21 / Sep 23, 2007 9:28pm

    Derek Jones

    7561 posts

    $FNS->form_declaration($data); combined with the Form Tag Encoder extension can take care of that for you.

  • #22 / Sep 23, 2007 9:34pm

    Ty Martin

    232 posts

    Cool, thanks for the heads up!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases