Forums
This topic is locked
Secured Client Logins
Posted 25 Jun 2004 00:38:12
1
has voted
25 Jun 2004 00:38:12 Jennifer Miller posted:
Greetings. I need just a little direction on which way to go.Here is my situation: I want to be able to have my clients login to my website by username and password to access certain pages of my website. I wanted to know if there was a tutorial that could teach me how to do this?
My hosting company provides secure url with password. What kind of programming language can I create that would allow the person to login on the main page and direct them to this secure url? (without logging in again on the server side).
Thanks so much!
Jennifer Miller
Replies
Replied 25 Jun 2004 12:30:30
25 Jun 2004 12:30:30 Simon Martin replied:
DMX has a neat little login behaviour that is easy to use for this.
On your login page build a form with fields for username and password, and a submit button. Then click on the Application panel, under Server Behaviours click the + sign and select user authentication and login user. You'll need to match your form fields to the database table fields.
Next set the redirect on successful login to your secure url and unsuccessful back to the login page. Optionally you could also pass an err=1 in the url - and build a conditional bit of text on the login page that alerts the user that they have failed to login and gives them another chance / link to the registration page.
Then on any page you want to secure you add another option from the User Authentication options - Restrict Access to Page. Now if someone attempts to go to that page without logging in first they will be sent to your login page.
Sharing knowledge saves valuable time!
Simon
On your login page build a form with fields for username and password, and a submit button. Then click on the Application panel, under Server Behaviours click the + sign and select user authentication and login user. You'll need to match your form fields to the database table fields.
Next set the redirect on successful login to your secure url and unsuccessful back to the login page. Optionally you could also pass an err=1 in the url - and build a conditional bit of text on the login page that alerts the user that they have failed to login and gives them another chance / link to the registration page.
Then on any page you want to secure you add another option from the User Authentication options - Restrict Access to Page. Now if someone attempts to go to that page without logging in first they will be sent to your login page.
Sharing knowledge saves valuable time!
Simon
Replied 25 Jun 2004 18:08:36
25 Jun 2004 18:08:36 Simon Martin replied:
you could always have a look at this tutorial on macromedia's site
www.macromedia.com/support/ultradev/building/login_page/
Sharing knowledge saves valuable time!
Simon
www.macromedia.com/support/ultradev/building/login_page/
Sharing knowledge saves valuable time!
Simon
Replied 01 Jul 2004 20:15:23
01 Jul 2004 20:15:23 Steven Watson replied:
hi
There's a good script in ASP that works almost straight out of the box. do a search on
AJLogin v3.4.
I think i got it at hotscripts.com.
the most secure way is to use .htt access on unix.
this script is pretty secure as it validates and does not pass any values onto other pages
There's a good script in ASP that works almost straight out of the box. do a search on
AJLogin v3.4.
I think i got it at hotscripts.com.
the most secure way is to use .htt access on unix.
this script is pretty secure as it validates and does not pass any values onto other pages
