> 
> You've addressed the issue of someone submitting a form with altered fields
> to attack the server, and pointed out some more advantages, but I don't
> think you've addressed the issue of protecting the "hidden" cleartext data
> from others on the client side.

True. But to tackle these concerns, SSL looks like a better approach
to me. If the client doesn't do any math/crypto/secret stuff at all,
an attacker that is on the same subnet can both spy on secrets (egress
passwords or private data, ingress session IDs or cookies) and take
over sessions (just by changing IPs - no need to even hijack TCP
connections since they are short-lived in HTTP) - and then there is
nothing that the victim could do that the attacker cannot. The point
is, secrets pass over the wire in the clear at a moment or another, so
encrypting them for all transfers but the first one only earns a
marginal amount of security.

This is not to say I don't enjoy using the various state storage
mechanisms described in the thread. They are highly useful but I think
that the encryption part of them only addresses problems on the server
side and are useless under certain forms of site design.

-- 
Dominique QUATRAVAUX                           Ingénieur développeur sénior
01 44 42 00 35                                 IDEALX

Reply via email to