Website Babble Webmaster Forums  

  #1 (permalink)  
Old 06-18-2008, 11:29 AM
Junior Babbler
 
Join Date: Jun 2008
Posts: 9
Bheng has a few positive reputation points
Default Members Only Log in????

Hi,

Since I am new to website creation, I have decided to create a family website while Im still learning the techniques.

I'd like to know how I can restrict the pages to be viewed only by registered members (say family members or close friends who know the username, if not have their own username and password)? I intend to create one where we can share photos, videos and articles about our family.

Thanks, Bheng
Reply With Quote
  #2 (permalink)  
Old 06-18-2008, 12:41 PM
lisa's Avatar
Administrator
 
Join Date: Apr 2007
Location: Dallas, TX
Posts: 4,261
lisa is the Admin and cannot be rated.
Default

Hi Bheng, there are many free scripts online that you can download and create a user or members login area. For example the site below shows you how...

http://www.phpeasystep.com/workshopview.php?id=6

If you're going to use PHP like they did in the tutorial above then you need to login to your host and create a database. It's not really hard to do and most hosts make the directions easy to follow.

There are other ways to do this without needing a database but some of them aren't always as secure. I like the tutorial above and they even show you how to create a database.
__________________
Don't put the cart before the horse.
Plan your website, then create it.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 Create a Website | 2 Create a Website Blog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Recent Blog Posts...

Stop The SEO Madness! [Video]
My Thoughts on Lazy People
A MUST READ for Struggling Bloggers

Reply With Quote
  #3 (permalink)  
Old 06-18-2008, 06:06 PM
James's Avatar
Super Moderator
 
Join Date: Dec 2007
Posts: 919
James has an outstanding reputation at WB (over 500 points)James has an outstanding reputation at WB (over 500 points)James has an outstanding reputation at WB (over 500 points)James has an outstanding reputation at WB (over 500 points)James has an outstanding reputation at WB (over 500 points)James has an outstanding reputation at WB (over 500 points)James has an outstanding reputation at WB (over 500 points)
Default Check this first

Bheng

Before getting into doing it yourself in any way check with your host. I use Dreamhost and their setup lets you designate any domain or folder (including any subfolders to that) as requiring a login. All I have to do is designate it as protected and assign id(s) and password(s). Very simple.

In other words, check with your host first. No use doing it the hard way unless you have to.
__________________
Good Success!
James
Douglas County Master Gardeners
"We don't always get what we want, but we always get what we expect."
Reply With Quote
  #4 (permalink)  
Old 06-18-2008, 06:31 PM
Junior Babbler
 
Join Date: Jun 2008
Posts: 9
Bheng has a few positive reputation points
Default

thanks guys, I will check both options.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 03:33 PM.



WB Sponsors

Profit Lance Review

Houston Web Design

Search Engine Optimization

flash chat



 Subscribe to the Website Babble Feeds

2 Create a Website Homepage | 2 Create a Website Blog


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0