You are here: Re: Need help with writing easy script « PHP Programming Language « IT news, forums, messages
Re: Need help with writing easy script

Posted by Chris Hope on 01/26/07 07:41

Jerry Stuckle wrote:

> thetechturf.com wrote:
>> Ok, here's the deal. I need a script written that will:
>>
>> Use a regular HTML page and form (I plan to have this in a small box
>> on all my HTML pages) to submit the information:
>> Username and Password
>> It will then check the username against like a csv table (or a txt
>> file, or MySQL) and see where the destination is.
>> Last of all it would go to the following url:
>> http://username:password@destination
>>
>> So if we have John Doe visit my site he types in:
>> Username: johndoe
>> Password: secret
>> It then checks the table and sees that the user johndoe has a
>> destination of "thetechturf.com/members/shg38
>> Last of all it sends him to the page:
>> http://johndoe:secret@thetechturf.com/members/sgh38
>
> Very insecure! It not only sends the userid/password in plain text,
> it can leave it in the navigation bar for others to read (depending on
> the browser).

Not only that, but I'm pretty sure it no longer works in the more recent
browser versions.


> Additionally, if you're sending them to another site, the
> userid:password combination may not work - it only works when you're
> using webserver authentication, and not always then.
>
> And if it is another page on your site you're sending them to, there
> are better ways to do it (i.e. session variables).

--
Chris Hope | www.electrictoolbox.com | www.linuxcdmall.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация