Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I create a user login for my webpage?

Status
Not open for further replies.

Hisakata

Technical User
Sep 24, 2002
36
US
Hello, I am new to access and was told I can create a user login for my webpage. Does anyone know how or where I can look for this information? Thank you very much.
 
Hi,

What kind of login do you want? Many users?
I can direct you to where you can get good member area scripts but you need to be able to run CGI scripts.

If its just for you i'd recommend htaccess, I can help you with this. I can also recommend a htaccess manager so you can add/delete passwords etc!

Which do you want? Are you able to use htaccess on your server?



É

:: ::
 
what would i need to use .htaccess???

I use ftp method. Please let me know, thank you!
 
You just need to check with your host if .htaccess is allowed. Ask them and they will tell you. If it is allowed then it's simple to set up, it can all be done manually.

You just need to create a file called .htaccess in the directory you want to protect. And also create a .htpasswd file which contains the login information. you can place the .htpasswd file in the same directory if you wish.

The .htaccess file will look something like::

AuthUserFile home/root/directory/protected/.htpasswd
AuthGroupFile /dev/null
AuthName "Protected Directory"
AuthType Basic

<Limit GET POST>
require valid-user
</Limit>

your .htpasswd file will look something like::

username:smskKoVAZCVbY

You will need to customise these and also create an encrypted password. I have a wizard which can do all of this for you, then you can manually create the files with the information the wizard produces.

ALTERNATIVELY
go to and download DirectoryPass,
install this CGI file and it will do everything for you! In theory! (It wouldn't work for me) :)

This help??
If you want to access the wizard mail me (thro. my site below)
Also, check what kind of server you are on, the wizard may not work depending on what kind of server you use.


É

:: ::
 
My htaccess file works but now the passwords don't work. I put them in the same directory and that didn't work. I then put it in my root folder and it still doesn't work.

I just make a .htpasswd file and this is the text within it.

test:test
test1:test1
test2:test2

Is this correct? ANy ideas? Thank you for the help.
 
The password has to be encrypted!!
so its
yourname:password and when encrtyped soemthing like
yourname:znxnu762b.nbx

The wizard I sent you also creates the encrypted password, check the very bottom of the page then copy and paste in into the htpasswd file.


É

:: ::
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top