Password protecting pages (.htaccess)

This is a discussion on "Password protecting pages (.htaccess)" within the Web Page Design section. This forum, and the thread "Password protecting pages (.htaccess) are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Aug 25th, 2007, 14:19
New Member
Join Date: Aug 2007
Location: Miami, Florida
Age: 38
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Password protecting pages (.htaccess)

Hi,
Don't know if this is the right catagory for this. I use .htaccess to protect different pages within one of my sites. The site has two different passwords for different areas. The problem is when visitors go from one password protected page to another the have to enter the passwords every time. Is there a way to set passwords to work for the whole session while they are on the site? Please help. Thank you in advance.

Fernando Polania
www.myunitwebsite.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Aug 26th, 2007, 01:35
alexgeek's Avatar
Moderator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,812
Blog Entries: 9
Thanks: 2
Thanked 2 Times in 2 Posts
Re: Password protecting pages (.htaccess)

hmm a lot of sites do not recommend .htaccess for password protecting, something about insecurity I think.
are you willing to try another method? like php sessions?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Aug 26th, 2007, 15:29
New Member
Join Date: Aug 2007
Location: Miami, Florida
Age: 38
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Password protecting pages (.htaccess)

Thanks. I am not familiar with PHP. can you recommend any resources?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Aug 26th, 2007, 16:19
alexgeek's Avatar
Moderator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,812
Blog Entries: 9
Thanks: 2
Thanked 2 Times in 2 Posts
Re: Password protecting pages (.htaccess)

I like w3schools and tizag tutorials.
http://www.w3schools.com/
http://www.tizag.com/
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Aug 26th, 2007, 16:20
alexgeek's Avatar
Moderator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,812
Blog Entries: 9
Thanks: 2
Thanked 2 Times in 2 Posts
Re: Password protecting pages (.htaccess)

Uhh I think that was another bug, I pressed reply it once.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Oct 24th, 2007, 07:45
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,780
Thanks: 0
Thanked 16 Times in 16 Posts
Re: Password protecting pages (.htaccess)

Alex, if you go into EDIT then it should have an option to delete post.... If not, try it again.. Usually works
__________________
Marc
Staff Manager - Webforumz.com


Want to be a moderator? PM me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Oct 24th, 2007, 07:52
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,780
Thanks: 0
Thanked 16 Times in 16 Posts
Re: Password protecting pages (.htaccess)

Hmm.. How come you are posting on the 26 august, Alex... Its only the 24th.
__________________
Marc
Staff Manager - Webforumz.com


Want to be a moderator? PM me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Oct 24th, 2007, 11:58
Daniel's Avatar
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,051
Blog Entries: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Password protecting pages (.htaccess)

Its the 24th October.
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Oct 24th, 2007, 12:26
Highly Reputable Member
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Password protecting pages (.htaccess)

I always thought using .htaccess for passwords was more secure than php.

at university, when we want to access protected pages only available to staff and students, we have to enter our username and password into an .htaccess prompt.

If you don't enter the correct username and password as stored in the .htpsswd file, it won't let you in...period and the password is encrypted too
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Oct 24th, 2007, 15:08
alexgeek's Avatar
Moderator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,812
Blog Entries: 9
Thanks: 2
Thanked 2 Times in 2 Posts
Re: Password protecting pages (.htaccess)

Quote:
Originally Posted by Daniel View Post
Its the 24th October.
This topic was gravedug,
This was posted ages ago.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old Oct 24th, 2007, 16:45
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,780
Thanks: 0
Thanked 16 Times in 16 Posts
Re: Password protecting pages (.htaccess)

lol - it got reported so i decided to investigate
__________________
Marc
Staff Manager - Webforumz.com


Want to be a moderator? PM me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
htacess, password, protection, session

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
htaccess password prob karloff Other Programming Languages 10 Jul 30th, 2007 01:14
Password protected pages wayne47 Web Page Design 9 May 8th, 2007 14:16
Best script to create users for password protected pages? vandiermen PHP Forum 3 Apr 23rd, 2007 12:22
password protecting just one page catalystmediastudios Web Page Design 2 Mar 31st, 2007 03:46
Password protecting a page paddywhack Web Page Design 10 Feb 7th, 2007 19:13


All times are GMT. The time now is 00:35.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42