forms - Implementing a log in/sign up feature -
so i'm intermediate web designer. want make website lets students @ university collaborate advertising work , being able apply. it's digital arts university , collaborating important everyone.
i want make site exclusive students @ uni, therefore need sign up/ log in feature, , have no idea need or how go it. i'm guessing databases required? have database knowledge, shouldn't problem.
i want make sign feature exclusive students e-mail domain specific uni. know possible, guessing require "verification" e-mails sent automatically, makes things harder.
so i'm asking, guidance on matter, if has experience or knows of resources use, great. ps. i'm not interested in having "profiles" , pages each member, want security feature more anything.
thanks alot!
i can't give perfect answer without understanding lots more environment, can point in right direction. but, before start, let me this:
warning: users reuse passwords across sites. so, while password database exposure site might not major problem (it doesn't sound you're storing credit card numbers or other sensitive material), may end exposing users @ other sites.
here ideas try in order of easiest (ie: secure) hardest (ie: riskiest):
- single sign-on (sso): organizations of moderate size have sso mechanism in place. allows program ask user login school account using school login , password. if login successful, you're program securely given email address of user authenticated. you'll need ask people in school's department this. asking them "do support oauth, saml, or similar sso can connect application?" should started. odds have sso mechanism may not let random apps connect it. you'll need see. solution best because gets out of authentication business altogether.
- use web framework's authentication system: many web frameworks support authentication out of box. example, if using jboss or .net, can leverage authentication system. you'll need read on framework you're using. i'm pretty sure php not support authentication out of box. if you're using option isn't available.
- find authentication library can leverage: start googling around
open source authentication framework php
or whatever framework you're using. if find one, you'll need install , configure it. - write own: general strategy store username , salted hash of password. this reference on secure password storage should help.
as general rule security, more can leverage existing services, more secure solution be. try leverage else's work before getting creative.
Comments
Post a Comment