October 27th, 2003, 06:45 PM
web forms encryption
Hey can anyone explain to me how to encrypt the info sent in forms, such as a create username one and how to decrypt it.
p.s. I did see the encrytion thread below this one
October 27th, 2003, 07:40 PM
October 28th, 2003, 06:31 AM
Also, if you want to have the data being sent between the user and the web site encrypted, you'll need to look into using SSL. That's to do with your web server, so contact your host about it.
October 28th, 2003, 07:58 PM
oops sorry for confusing you. I need to create a create username name thingy for the message board im making, and this was probably a bad place to post this since it has to do with the html and encryption from the user to the server.
October 29th, 2003, 03:33 AM
So you want to randomly generate a username and password instread of letting the user pick there own? If so, it's not hard to do , especially with Python 2.3! All you have to do is call random.sample() on a string (possiably from a file), you dol need to check if the username exists first though.. can't really help with the server thing though obviously . How is your board coming anyway?
November 2nd, 2003, 03:04 PM
they need to enter there own but i need to encrypt its transfer from the page to the server
November 2nd, 2003, 03:16 PM
Telex is right, it sounds like you want SSL to me .. in any case i think this is more of a server thing than a Python question.
I don't see how it's too much of a problem though Ark.. as far as i'm aware this forum just sends data from the browser to the webserver (no encryption). So not something i'd really worry about too much ayway!
November 2nd, 2003, 04:12 PM
As netyan says, SSL isn't necessary, though if you can make it work and you really want your data to be secure when being transmitted, it's probably a good thing to use. Look through the documentation for your web server, contact your host, and work out SSL.
Otherwise, simply encrypting passwords with the MD5 algorithm is going to make the passwords very secure, and applying some simple obsfucation with regular expressions or using crypt will deter the less determined crackers.