Slashdot Mirror


User: ricky.zhou

ricky.zhou's activity in the archive.

Stories
0
Comments
2
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2

  1. Password Hash on Storing Credentials for Secured Resources? · · Score: 1

    Why not just store the username/a hash of the password in a cookie?
    The credential check would then be a comparison of the hash and a hashed entry in a database. This way, the password is never stored in plaintext.

    Another method that I've seen involves a one time pad with sessions (stored on the server), so that no single side has sufficient information to determine the password. The only problem with this is that the password length would be revealed .

    Of course, you could then just take advantage of sessions and store it on the server side. For Perl, CGI::Session (http://search.cpan.org/~markstos/CGI-Session-4.13 /lib/CGI/Session.pm) might work.

    Ricky

  2. Re:A sterling job on the XSS defenses though on Google Introduces Page Creator · · Score: 2, Interesting

    Actually, if you use the file upload function, they perform no script checking at all (this is probably why they used a separate domain).