Re: Is Server.Transfer secure?
From: Chris Jackson (chrisj_at_mvps.org)
Date: 08/28/03
- Previous message: Ray Johnson: "ASP/NTLM and ASP.Net/Forms authentication incapatability"
- In reply to: tim almond: "Re: Is Server.Transfer secure?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 28 Aug 2003 16:51:18 -0400
ANY time the user gives you input, you HAVE to validate it if security is
critical. In this case, they are providing the case number, so you have to
validate it if they CAN NOT view another one. Otherwise, the response that
they send could be modified very easily, bypassing your initial check. If
you don't care if they view another one, and it's just a convenience to
filter them, don't worry about it. If it matters, then revalidate.
-- Chris Jackson Software Engineer Microsoft MVP - Windows XP Windows XP Associate Expert -- "tim almond" <vv@iijjhh> wrote in message news:ukMr5fAbDHA.2620@TK2MSFTNGP09.phx.gbl... > > > Chris Jackson wrote: > > It is like an internal pass - the client isn't aware of it. If the client > > gets between the two pages, then you have to validate your data. If it's > > already validated, then you can continue to trust it. > > > Hmmmm... > > now I'm really puzzled ;) > > Can I explain my situation... > The situation I have is a page with a datagrid which has a list of cases > based on the user ID of the user who is logged in. When the user selects > one of the cases, I need to pass the case # to the 'update case' page. > > But what I don't want is someone to be able to form an HTTP request and > change the 'case number' to someone else's number. > > First thought was to do what I used to do in ASP, and just validate > anything passed each time to ensure that it was valid for the user who > was logged in. > > I suppose I could use a session variable to pass it, but was looking for > something a little cleaner. > > Does this make sense, and am I stuck with re-validating? >
- Previous message: Ray Johnson: "ASP/NTLM and ASP.Net/Forms authentication incapatability"
- In reply to: tim almond: "Re: Is Server.Transfer secure?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|