By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,738 Members | 1,114 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,738 IT Pros & Developers. It's quick & easy.

Passwording a Page...

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.