467,074 Members | 975 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,074 developers. It's quick & easy.

Passwording a Page...

Hello!

I am having trouble passwor protecting a page! i want a simple script that
will allow me to have more than one 'account' but will also hide the
destination page within the script.

Any help would be much appreciated!

Michael
Newcastle - UK
Jul 20 '05 #1
  • viewed: 2030
Share:
4 Replies
Michael Lamb schrieb:
Hello!

I am having trouble passwor protecting a page! i want a simple script that
will allow me to have more than one 'account' but will also hide the
destination page within the script.


The easiest way is .htaccess and .htusers

http://www.javascriptkit.com/howto/htaccess.shtml
http://www.he.net/faq/tutorials/htaccess/demo.html

That's what I found in Google by ".htaccess", perhaps you find more - or
ask.
On important thing is that you have to encode the password, it works
e.g. here:
http://www.euronet.nl/~arnow/htpasswd/

Good luck

Werner
--
-----------------------------------------------------------
Werner Partner * Tel +49 2366 886606 * Fax: 886608
mailto:ka****@sonoptikon.de * http://www.sonoptikon.de
hören Sie Klassik: http://www.drmk.ch/
Jul 20 '05 #2
Werner Partner wrote:
The easiest way is .htaccess and .htusers


That's assuming an Apache server. That being the case, why point anywhere
other than the official, definitive Apache docs?

<http://httpd.apache.org>

For other servers, the answer will be similar in nature - i.e. configure the
server - but the details of how to do so will be different. Consult the
docs for your particular server.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Jul 20 '05 #3
in post: <news:c5**********@newsg4.svr.pol.co.uk>
"Michael Lamb" <Sh***********@hotmail.com> said:
Hello!


hello

What is the accepted way to share a message across multiple newsgroups?
http://smjg.port5.com/faqs/usenet/xpost.html
--
b r u c i e
Jul 20 '05 #4
Sherm Pendley schrieb:
Werner Partner wrote:

The easiest way is .htaccess and .htusers

That's assuming an Apache server. That being the case, why point anywhere
other than the official, definitive Apache docs?


That's not shure, because I use t-online, and I don't know if they have
apache.

regards

Werner

--
-----------------------------------------------------------
Werner Partner * Tel +49 2366 886606 * Fax: 886608
mailto:ka****@sonoptikon.de * http://www.sonoptikon.de
hören Sie Klassik: http://www.drmk.ch/
Jul 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Chris | last post: by
reply views Thread by Nathan | last post: by
2 posts views Thread by James | last post: by
4 posts views Thread by Kevin Phifer | last post: by
2 posts views Thread by John Lau | last post: by
6 posts views Thread by MooreSmnith | last post: by
1 post views Thread by Lenard Gunda | last post: by
11 posts views Thread by cover | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.