Results 1 to 5 of 5

Thread: Spring MVC resolution fro HTML tampering?

  1. #1

    Default Spring MVC resolution fro HTML tampering?

    Is there any out of the box solution or feature in Spring MVC which can help to prevent HTML tampering attack? If not, could one describe sound strategy to implement it?

    Tnx

  2. #2
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

    Default

    Last edited by robyn; May 16th, 2006 at 04:04 AM.

  3. #3
    Join Date
    Aug 2004
    Location
    London, UK
    Posts
    339

    Default

    Last edited by robyn; May 16th, 2006 at 04:03 AM.
    Darren Davison.
    Public Key: 0xE855B3EA

  4. #4
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

    Default

    Good link Darren - I think yours is more relevant. For more info, have a look at the JavaDoc for the class DataBinder, and it's method setAllowedFields.

  5. #5

    Default

    Thank you all for your answers, but there is one more problem about allowedFields property in DataBinder. Specifically, one can't react in controller if non allowed fields are submitted. All you can do is to look at warning log entry produced by DataBinder. There really should be an option to remember not allowed fields so that you can implement some logic (like session invalidation or/and logout) in controller in case when not allowed fields are submitted.

    I raised JIRA issue about that so you can vote for it.

    Damir

Similar Threads

  1. Spring MVC Web Framework versus Struts
    By biguniverse in forum Web Flow
    Replies: 27
    Last Post: Aug 29th, 2012, 03:57 AM
  2. Replies: 5
    Last Post: Aug 9th, 2008, 05:30 AM
  3. A Spring Class Loader?
    By azzoti in forum Architecture
    Replies: 8
    Last Post: May 7th, 2005, 04:02 AM
  4. Replies: 0
    Last Post: Mar 8th, 2005, 10:00 PM
  5. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •