> Well, IMHO this is no better than my solution using JS What 
> do you do if someone has cookies disabled?
> I for my part often reject cookies 'just because' when I dont 
> feel they're really needed...

java script is client side.
it only prevents that a form can be submittet.
what if you circumvent that and post directly?
as we know, simulating a post ist quite easy:
telnet to host port 80:

"POST /superposter/gna.php HTTP/1.1\r\n
Host: www.blabla.ch \r\n
User-Agent: whatever you want\r\n
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
n;q=0.8,image/png,*/*;q=0.5\r\n
Accept-Encoding: gzip,deflate\r\n
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
Keep-Alive: 300\r\n
Connection: keep-alive\r\n
Referer: www.blabla.ch/urli/index.php
Cookie: PHPSESSID-1111111\r\n
Content-Type: application/x-www-form-urlencoded\r\n
Content-Length: 100\n
\r\n
action=login&nick=username&password=password&submit=LOGIN
\r\n"

if you get that you cannot check if he used your javascript or not ,-)
he might check your session-id, but what if the client gets a session id
and uses that one to fill in the form.
that soo easy :-) (i'm using such a tool as a proxy for an online game
since about 5 years ,-))

-steven
_______________________________________________
swinog mailing list
[email protected]
http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog

Antwort per Email an