Password protecting pages on website....
Password protecting pages on website....
Author
Discussion

NikB

Original Poster:

1,834 posts

291 months

Thursday 4th March 2004
quotequote all
I have built a few web sites now, but I have a friend who wants me to build one with password protection to certain areas of the site for members. Any ideas on the best way to do this?

dontlift

9,396 posts

284 months

Thursday 4th March 2004
quotequote all
Various depending on technology available / Linux & PHP/MySQL or WIndows ASP etc

Also depends if you want to restrict access using 1 password for everyone, or everyone has their own etc

Bit more info would be useful

NikB

Original Poster:

1,834 posts

291 months

Thursday 4th March 2004
quotequote all
OK, I want to build a site that has a general area and a members only area. Each member must apply for a username/password which will be different for each user. Don't worry it's nothing sinister!! It's for a guy distributing car parts and he wants to control who has access to his price lists.

I haven't found a host yet - will go with the best one that will allow me to do this.

TheHobbit

1,189 posts

277 months

Thursday 4th March 2004
quotequote all
on a linux/apache server you can do this with ease...... check here for a ready written tutorial....

JamieBeeston

9,294 posts

291 months

Thursday 4th March 2004
quotequote all
As has already been said,

the quickest way is htaccess, but its not as pretty, and doesnt support 'sessions'

another way is to create some PHP / ASP solution.

Dontlift

9,396 posts

284 months

Thursday 4th March 2004
quotequote all
NikB said:
OK, I want to build a site that has a general area and a members only area. Each member must apply for a username/password which will be different for each user. Don't worry it's nothing sinister!! It's for a guy distributing car parts and he wants to control who has access to his price lists.

I haven't found a host yet - will go with the best one that will allow me to do this.


Nik, you could adapt a version of www.oscommerce.com/ in a similar way to we have adapted it for a client of ours www.rockhall.co.uk/catalog/ if you need hosting for this drop me a line

sbarks

16 posts

269 months

Wednesday 10th March 2004
quotequote all
Hi



.htaccess or if you have cpanel/plesk access from your host then option is there to pass protect




sbarks