Security question?

Discussion in 'ASP .Net Security' started by MilanB, Jul 22, 2005.

  1. MilanB

    MilanB Guest

    Application has a webform where user can edit/modify some information that
    are stored in database.

    When I show data to user, I must somewhere memorize ID of database record
    that is currently edited.

    Where to do that? So malicious users can not chage that ID (of current
    edited record), and in that manner modify some other record, and not current
    one?
     
    MilanB, Jul 22, 2005
    #1
    1. Advertisements

  2. store it in viewstate and use viewstatemac


    --
    HTH

    Thanks,
    Yunus Emre ALPÖZEN
    BSc, MCSD.NET

    "MilanB" <> wrote in message
    news:...
    > Application has a webform where user can edit/modify some information that
    > are stored in database.
    >
    > When I show data to user, I must somewhere memorize ID of database record
    > that is currently edited.
    >
    > Where to do that? So malicious users can not chage that ID (of current
    > edited record), and in that manner modify some other record, and not
    > current
    > one?
     
    Yunus Emre ALPÖZEN [MCSD.NET], Jul 24, 2005
    #2
    1. Advertisements

  3. MilanB

    MilanB Guest

    Thanks!
     
    MilanB, Jul 24, 2005
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jeff Fink

    Question about dotnet server security

    Jeff Fink, Oct 29, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    514
    Jeff Fink
    Nov 6, 2003
  2. Aaron
    Replies:
    1
    Views:
    556
    John C. Bollinger
    Aug 4, 2003
  3. Marco
    Replies:
    1
    Views:
    2,692
    Roedy Green
    Jan 28, 2006
  4. Akram Baig
    Replies:
    0
    Views:
    532
    Akram Baig
    Apr 7, 2011
  5. Dinis Cruz

    Asp.Net Security Analyser (new security tool by DDPlus)

    Dinis Cruz, Oct 8, 2003, in forum: ASP .Net Security
    Replies:
    2
    Views:
    344
    Dinis Cruz
    Oct 11, 2003
  6. Michael Randrup
    Replies:
    3
    Views:
    536
    Henning Krause [MVP]
    Mar 27, 2006
  7. Leyla
    Replies:
    2
    Views:
    1,081
    Leyla
    Aug 17, 2006
  8. Kursat
    Replies:
    1
    Views:
    526
    Dominick Baier
    May 7, 2007
Loading...