Forum Moderators: phranque

Message Too Old, No Replies

Is it possible to.....

         

Bubzeebub

5:23 pm on Jan 14, 2005 (gmt 0)

10+ Year Member



have visitors on a website click on a link so that:

1) Once they click on the link they are prompted with a login

2) Once they click on the login and enter in a password they get access to a page within your website where they can order items?

I guess the question is how to create and have user's get to a secure page.

If it can be done, how?

rocknbil

5:50 pm on Jan 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There's actually two questions there.

As for user login and authentication there are so many ways, from an Apache user authentication to a program-based login scheme. The first is simplest, and will protect anything in a directory. Search for configuring .htaccess files. All that's required is to edit a plain-text file and save it as .htaccess, then set the login name and password. It gets more complex for multiple users, but the concept is still the same.

The second generally involves server-side programming in perl, php, asp, or any other language. The user submits a login name and password and the programming compares it against a database stored on the server.

There are some simple client-side Javascript/VBScript login schemes but they are very low level security and can only block the most casual of visitors.

The second topic

have user's get to a secure page.

Generally a "secure page" is one that resides on a secure server. The url begins with https and there is a secure certificate installed for the site. All data going in or coming out of the server is encrypted, so if it's intercepted by a hacker it's generally useless. Login protection and secure "pages" are two different things.

Bubzeebub

6:27 pm on Jan 14, 2005 (gmt 0)

10+ Year Member



Thanks Rock...that clarifies it. What I really want is for visitors to click on a certain link and get prompted. It doesn't have to be encrypted. I just want to make sure that when a customer clicks on a link that saaaays..umm..... 'Current Offer' or something that they get the login prompt. When they log in with the pre-determined username/password I know where they came from. Basically I want to run a promotion and figure out which one is working and which isn't.