Re: Is the way i do, secure enought to avoid session hijacking



Within the AOL LAN, IP addresses are assigned on a per-client-session basis,
if I'm not mistaken (at least with dial-up connections). But again, this is
not my area of expertise. Still, I understand quite a bit about networks,
and I can't imagine why an IP address of a machine inside a network would
change within the same client session. It is, again, the "return address" of
the computer on the network.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Sometimes you eat the elephant.
Sometimes the elephant eats you.

"gerry" <germ@xxxxxxxxxxx> wrote in message
news:OcbepXiYFHA.3152@xxxxxxxxxxxxxxxxxxxxxxx
> are you sure about that ?
> from what I have read about AOL proxies and what i see in my IIS logs - it
> seems that this is not true and that there can be multiple ip's for a
> single
> client within a session.
> i don't have the asp.net session id in the log files so i can't be 100%
> certain.
> Gerry
>
>
>
> "Kevin Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:OLVN9UhYFHA.3184@xxxxxxxxxxxxxxxxxxxxxxx
>> Hi Hope,
>>
>> Your method looks pretty sound to me. The client's IP address cannot
> change
>> between requests. It is, after all, the "return address" for the client's
>> HTTP messages.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> .Net Developer
>> Sometimes you eat the elephant.
>> Sometimes the elephant eats you.
>>
>> "Hope Paka" <utezduyar@xxxxxxxxxxx> wrote in message
>> news:esEDt7gYFHA.2684@xxxxxxxxxxxxxxxxxxxxxxx
>> >I am storing user login information (not password) in the session. I
>> >also
>> >use, cookieless session. I realized that, if someone copy-pastes the URL
>> >after he/she logged in to the system to another person, the other
> person's
>> >browser opens as if the sender logged in.
>> >
>> > 1) Person A Logins to the system. (login information is stored in
> SQL
>> > Session state)
>> >
>> > 2) Person A copy-paster the url and sends it to person B (format
>> > of
>> > the url is http://domain/(sessionid)/XYZ.aspx)
>> >
>> > 3) When person B opens the URL, its window opens as if person A
>> > was
>> > logged in to the system.
>> >
>> > This is a security threat. I have overcome this by doing the following.
>> >
>> > When user logins to the system, a login ticket is generated
> and
>> > it is stored in the session. This login ticket contains two things, one
> is
>> > client ip address, the other one is user-agent.
>> >
>> > Then at the each request, I validate if the registered login ticket
>> > information is same.
>> >
>> > If person A sends URL to person B, then I assumed that, person Bs ip
>> > address should be different than person A.
>> >
>> > I found an article on MSND,
>> > http://msdn.microsoft.com/msdnmag/issues/04/08/WickedCode/ (Foiling
>> > Session Hijacking Attempts). The way Jeff have done is similar to the
> one
>> > that i have done. Is this relaible. The only think i wonder is if the
>> > users IP address changes at each request!
>> >
>> >
>>
>>
>
>


.



Relevant Pages

  • Re: Restrict number of concurrent login - Help me olease
    ... The problem is, there is only one remote client per Session, so your ... client stops making requests, when it times out due to a lack of requests. ... Sometimes the elephant eats you. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Excessive Event ID 9646 in Exchange 2003
    ... In the original post, it was session limits ... Open the files in Microsoft Excel. ... opens more than the default value of certain server objects ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.exchange.admin)
  • Re: wont open in other windows - sessions
    ... new thread, give us the version of Windows you are using, exact wording of ... How to make a good newsgroup post: ... session of ie it opens in place of the previous session - so I cant ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Excel Sheets Opens Itself Again After ADO Query ! Please Help
    ... I have an excel session already open on my ... I open a new, fresh, Excel session and open my file, with the ... I'd rather not use SQL queries cuz reason why choose SQL was because it ... Hope this opens the discussion more. ...
    (microsoft.public.excel.programming)
  • Re: Settings applications to always open on certain desktops
    ... then save the session they should open in the same place. ... > I use Gutsy and Compiz, 4 desktops on a cube. ... I love the workspace ... > Is there any way to declare that a specific application always opens on ...
    (Ubuntu)