Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Restricting Access to site

Status
Not open for further replies.

gpalmer711

IS-IT--Management
May 11, 2001
2,445
GB
Hi,
I'm not sure if i have picked the correct forum to post this message, so appologise in advance if not.
My question is this, I have developed a website that I am hoping to eventually be based on subscription access. Each customer would have a unique customer ID, and this ID would form part of the url. i.e. If the user was not to use a valid ID then they would not gain access to the site.
I really just need a point in the right direction, what is the best option for doing this?

Many Thanks

Greg Palmer

----------------------------------------
Any feed back is appreciated.
 
Hi mate,

Its not possible using HTML, you need a server-side language to do this. What language you use depends on what you know but I'm guessing you don't know any as you posted this in the HTML forum, so start reading. [wink]

Hope this helps

Wullie


The pessimist complains about the wind. The optimist expects it to change.
The leader adjusts the sails. - John Maxwell
 
PHP would be my favorite way to implement such a thing with a MySQL database to store username and passwords. It's free and runs on any platform. You are not tied to a particular platform.

ASP is another popular way (it's loosing ground to PHP aparently). However it only runs on Microsoft servers and requires licences for it. It can run on Apache under linux provided you pay for a third party application.

Gary Haran
********************************
 
Actually you can protect the pages without a server-side script. It simply requires that the administrator of the server set up users and passwords for everyone you want to provide access for (manually), and the server has to present an authorization system that the client can understand. For example with NT/2k/XP servers you can set up NT challenge-response.

However it's a huge hassle, isn't cross-OS compatible, and has to be administered by hand (usually).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top