| Welcome to Webforumz.com. |
|
Aug 25th, 2007, 14:19
|
#1 (permalink)
|
|
New Member
Join Date: Aug 2007
Location: Miami, Florida
Age: 37
Posts: 7
|
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
|
|
|
Aug 26th, 2007, 01:35
|
#2 (permalink)
|
|
Administrator
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 4,102
|
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?
__________________
Languages: PHP, mySQL (queries), C#, (X)html, CSS, JS.
|
|
|
Aug 26th, 2007, 15:29
|
#3 (permalink)
|
|
New Member
Join Date: Aug 2007
Location: Miami, Florida
Age: 37
Posts: 7
|
Re: Password protecting pages (.htaccess)
Thanks. I am not familiar with PHP. can you recommend any resources?
|
|
|
Aug 26th, 2007, 16:19
|
#4 (permalink)
|
|
Administrator
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 4,102
|
Re: Password protecting pages (.htaccess)
__________________
Languages: PHP, mySQL (queries), C#, (X)html, CSS, JS.
|
|
|
Aug 26th, 2007, 16:20
|
#5 (permalink)
|
|
Administrator
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 4,102
|
Re: Password protecting pages (.htaccess)
Uhh I think that was another bug, I pressed reply it once.
__________________
Languages: PHP, mySQL (queries), C#, (X)html, CSS, JS.
|
|
|
Oct 24th, 2007, 07:45
|
#6 (permalink)
|
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,750
|
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 
__________________
I'm back!!!! 
|
|
|
Oct 24th, 2007, 07:52
|
#7 (permalink)
|
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,750
|
Re: Password protecting pages (.htaccess)
Hmm.. How come you are posting on the 26 august, Alex... Its only the 24th.
__________________
I'm back!!!! 
|
|
|
Oct 24th, 2007, 11:58
|
#8 (permalink)
|
|
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,381
|
Re: Password protecting pages (.htaccess)
Its the 24th October.
|
|
|
Oct 24th, 2007, 12:26
|
#9 (permalink)
|
Join Date: Jul 2006
Location: Devon, England
Posts: 567
|
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
__________________
If your thread has been resolved, please use Thread Tools and mark the thread as Topic Solved. This saves us time looking at threads that are already solved
|
|
|
Oct 24th, 2007, 15:08
|
#10 (permalink)
|
|
Administrator
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 4,102
|
Re: Password protecting pages (.htaccess)
Quote:
Originally Posted by Daniel
Its the 24th October.
|
This topic was gravedug,
This was posted ages ago.
__________________
Languages: PHP, mySQL (queries), C#, (X)html, CSS, JS.
|
|
|
Oct 24th, 2007, 16:45
|
#11 (permalink)
|
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,750
|
Re: Password protecting pages (.htaccess)
lol - it got reported so i decided to investigate 
__________________
I'm back!!!! 
|
|
|
| Thread Tools |
|
|
| Rate This Thread |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|