Forum Moderators: coopster

Message Too Old, No Replies

general comment on a well written post in regards to php

         

raziel777xj

8:40 pm on Aug 13, 2005 (gmt 0)



Hi Im an intermediate programmer but have only coded php for less than 1 year ...so I guess im new as far as that goes:-). I basically surf the web alot picking the odd well explained part out of large progranmming guides so that I can learn fundemental aspects of site development and configuration of server side software. I actually decided though that I would register for this site purely because of this (old) quality post written by jatar_k(think he is a moderator) ....The thing is Im quite familiar in regards to what a server has to do to process users information for registration and login ......the thing is when developing my site I always thought to myself is my site secure enough? and are these guides are they just bare bones stuff with great big security issues? ......anyway although jatar_k says his script is just the basics I feel they have explained it in a thorough way and because of the post it has done something no other php guide has done! .....its made me think of other ways I could secure my scripts.......im am pleased at this as now that I have a reasnable web host and making a site I dont want to get users and get a bad reputation or get into trouble for not taking enough precautions to secure there data.......Anyways what a well explained post I will include the link below.

On that note in regards to my site I plan to have a general site that can get as many people as possible ......maybe have a news page login and registration page and a computer guides page for various different aspects in this field and I was wandering basically any good methods for securing a login script that people think are a must!

what I have come up with so far is
use php sesssions
store and validate users ips
use md5 algorithm for passwords

Also are there any scripts people know off that are used alot and are dangerously insecure ......if so why?

I know this is a kind of broad question but I really liked the aforementioned post and it made me realise what a minefield scripts and the legal system can be:-)

AlexK

12:29 am on Aug 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



raziel777xj - welcome to WebmasterWorld!

You forgot the link.

jatar_k

4:35 am on Aug 14, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld raziel777xj,

and thank you very much for your kind words

I wonder if you are referring to this login script post
PHP User Authentication and Passwords [webmasterworld.com]
though there was another somewhere I went on about login security and it may be that one as well

I have two other threads that might help, especially if the link above is the thread you are referring to
PHP Security [webmasterworld.com]
PHP Peer Code Review [webmasterworld.com]

>> are there any scripts people know off that are used alot and are dangerously insecure

any script you are using that you didn't write should be terated as a security hole. You should go through them and understand what they are doing and how they are doing it so that you are confident things are secure. I almost always end up hacking a few security fixes in to anything I use.

roldar

4:52 am on Aug 14, 2005 (gmt 0)

10+ Year Member



PHP User Authentication and Passwords

It's hard to believe a whole year has passed since I started that thread. I think that was one of my first questions here, and like 99% of those I've asked since I received more help than I deserve.

Thanks again jatar_k.