![]() |
Looking for SECURE login script
I'm currently making a website for Team639 and i'm looking for a secure login script. The script can be in any language, but PHP is preferred(since I understand it). The script must have the following criteria:
|
Re: Looking for SECURE login script
Quote:
Creating one isn't too bad. It's good experience to learn. Ex: user/login system Code:
session_start(); // top of each page |
Re: Looking for SECURE login script
To secure that password, php has the wonderful
string md5 ( string str [, bool raw_output]) (<--Look, a syntax guide!<--) function. It uses the md5 encryption technique to convert a text string into 32 char long alphanumeric string. Just store the password md5 encrypted. Whenver they log in, run md5 on thier password and then compare it to the database stored string. It's that simple! One more thing to note: storing a password as an md5 hash means it is CasE SEnSetiVe, so you should make that obvious to your users. (Otherwise you will get lots of calls from people who can't log in. Trust me on that one. |
Re: Looking for SECURE login script
Quote:
As for the other features you have talked about, may I suggest trying openFIRST? ;) There is a lot of functionality in that system, and since you have the source, you can customize it to fit your team's needs. |
Re: Looking for SECURE login script
Quote:
Good Point. php will do fine if you won't have people wanting to hack whatever you are doing. If you are doing something that people may want to hack you would want to use an SSL. I know I have a written PHP setup somewhere around here.. that is if you are intereseted. It is strict access type though... no admin function. If you need the admin function it may be easier to just write your own code. If you need help give me a buzz. Good Lcuk, -Greg The Great |
md5 is NOT encryption
Quote:
PHP Code:
|
Re: Looking for SECURE login script
however, reverse-engineering md5, crypt, and other such algorithms is usually designed to be (at least currently) mathematically unfeasible, hence the reason they are often used for password storage - simply hash the input, and if the hashes match, you either have a correct login or someone with a supercomputer.
|
Re: Looking for SECURE login script
Our team uses phpnuke as our "team communication portal" and we love it. Our wonderful webguy added a calendar module and we now have everything from team news, to our bylaws in the download section, to a scrolling calendar.
PM if you would like to know more about nuke. |
Re: Looking for SECURE login script
Why would you need a SSL secured php login script just for the robotics website ... its pretty weird ... i mean this would be one of the last website i would hack if i was hacker ...
but do check out www.hotscripts.com search for login scripts in php ... go by the features and the rating of the script |
Re: Looking for SECURE login script
Quote:
And that's why our site uses custom non-SSL communications. We have administrative access, special registration codes (for some accounts tohave different priveleges than others), and use sessions. Our login script looks something like this (I wrote a custom database class for PHP, since our host does not have MySQL): PHP Code:
|
| All times are GMT -5. The time now is 01:42. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi