![]() Well, MD5 is a one way encryption, usually used for logins. code to search for a username and now to test the password sent again. What that is, will eaiest be explained in this login example. The first thing I did was encrypting the password in something called MD5. Offcourse I first had to check if someone is registerd with that username, but I won´t make that here. This would now add a record to my LassoMySQL database with an encrypted password and a username with the form parameters he sent. password='the_lasso_user_password_to_add', ![]() username='A_username_configurated_to_allow_to_add_in_Lasso5', Now I have his password in an encrypted form in a variable. So now he feels safe and sends his form to my page called create_sec_user.lasso But I tell him that everything, exept his login name will be encrypted. He then fills out his form, wich is really personal shit to him. What I did yesterday with a nice webapplication that is on beta right now called LassoPro5 was this:Ī websurfer decides to register on my homepage. Lest say that you make a login db with a table called user_info. The next level, if you want it really secure would be to encrypt atleast the user data that is stored in database. The fist thing you could do is to set the ers table in mysql only to accept users from localhost.Īnd the user you set up, please use something else that your wife´s name as a password Get a good firewall that only allows visitors to get access via port 80. Install what you have to, and don´t mess around. Try to have it as "out of the box" as possible, because when it comes to MacOS X thats as secure as you´l get. I´l start at the wrong end: the computer that hosts the database server. If you start thinking of security, as we talk about web security, I think a good way of looking at it is as different layers. As forĬompiling notes it varies from computer to computer I myself did all the Net::SSLeay stuff in aboutħ minutes while scope has a G4 (I have a G3) and it took him about 10-12 minutes. Is very easy to do I reccomend you follow that one as well to test your installation here. One way to test this is to install webmin which for I also wrote a howto that That should be it, you now have OpenSSL 0.96c installed and the perl module Net::SSLeay 1.12 Step 3) Open up the terminal and type cd /users/YOURUSERNAME/desktop/netssl Step 2) Uncompress the archive and rename the resulting folder "netssl" Apples cc compiler can be finiky sometimes. Says "some error " don't worry about it we had 1 error also but it wasn't serious andĮverything is working. Like the above notes me and scope were working on this for a long whileĪnd I think we are benefiting everyone who needs SSL for OS X. This install like the other one is very sensitive to the options you use and I reccomend following Step 3) Open up the terminal and type cd /users/YOURUSERNAME/desktop/ Step 2) Uncompress the archive and rename the resulting folder "openssl" I know this seems harsh but this is the way it has toīe since this was a complete pain! You also need this before SSH will work also. Path I will not answer your support question. YOU MUST follow this exactly because me and scope were doing this for over on IRC for overĥ hours! We tried many ways and this is the only one that worked for us. ![]() ![]() I have done this HowTo with 10.1.2 in mind and I will not guarantee that this will work on Here is the step by step process for installing a working version of OpenSSH on your MacOS X 10.1.2 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |