1
   

Secure Login

 
 
optix
 
Reply Fri 11 Mar, 2005 01:25 pm
I'd like to create a login page for my website for viewing certain areas.
I'm running a unix server, i've been writing HTML for 5 days now... A total novice. Embarrassed

I've searched this forum and i've managed to "create" a login page with script borrowed from This Thread

I only want to have 1 username with 1 password.
But i dont understand how it works...
Where do i put the accepted username and passwords? Confused


Thanks in advance.
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 1 • Views: 419 • Replies: 2
No top replies

 
Craven de Kere
 
  1  
Reply Fri 11 Mar, 2005 08:34 pm
You can specify where http passwords are stored through your .htaccess file if you want.

E.g.

Code:
AuthType Basic
AuthName "Protected Directory"
AuthUserFile "/home/accountname/.htpasswds/passwd"
require valid-user


If this is not enough information you should probably be talking to your server admin, as 5 days "HTML" experience isn't going to be much use for *nix and if you don't know *nix you should probably have a server admin who does.
0 Replies
 
optix
 
  1  
Reply Mon 14 Mar, 2005 01:35 pm
Cheers, I got it sorted.
Thanks for your help.
0 Replies
 
 

Related Topics

Webdevelopment and hosting - Question by harisit2005
Showing an Ico File - Discussion by Brandon9000
how to earn money in internet - Discussion by rizwanaraj
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
 
  1. Forums
  2. » Secure Login
Copyright © 2025 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 01/18/2025 at 12:38:27