Click to See Complete Forum and Search --> : Password protected page
RGraze
08-17-2002, 11:14 PM
This is probably a simple question but how do I password protect a web page. I have a web page for the Fire Department that I work for. I would like to have a password protected page where I can post a schedual and training stuff for the guys that work shifts. I am no web page guru at all, a beginner at best I made the page through microsoft front page xp. I also have limited skills with macromedia products. thanks
Quandary
08-19-2002, 11:05 AM
I remember doing this at one point, and there are a few ways you can handle it...
(easy way)
IIRC, if you are using something like IIS to serve out your pages, you can lock certain directories so that a browsing user will have to enter a username/password to authenticate themselves to the server and get access to the directory (and the page, but everything in the dir is locked out)
(slightly harder way)
Now, the other way to lock out a page is to make it dynamic (like ASP) and to have a login *page* (versus a dialogue box like the solution above provides) and have that page take the username/password. The page then runs a check on a database of usernames/passwords, and if the check is successful, a session variable (temp cookie) gets set with a valid code, or the SID gets stored in a list or <insert locking mechanism here>. If the user tries to go to a dynamically generated page without proper authentication, he will encounter a page that says 'not logged on' (versus a '403: access forbidden' page) because the dynamic generation would not generate the 'real' page without the presence of whatever locking mechanism you chose.
Hope that this helped,
- Quandary
DocEvi1
08-19-2002, 01:09 PM
IIS / NTFS is the most secure way but would involve you running the website/intranet internally and not via an external company.
How secure do you want it, maybe javascript (javascript.internet.com) or java (java.internet.com) would suffice - not strong encryption tho.
Stefan
qball
08-19-2002, 10:14 PM
Quandary,
Good answer. I can't add much.
Other than recommend DO NOT javascript, like locking door, but leaving window, right next to door, wide open
...I am no web page guru at all, a beginner at best ...
Actually, not very simple to password protect, or I should say, PP, well.
Think of it this way:
On the next fire call, you probably want to respond with some other competent firefighters. With the skills and experience to deal with the situation.
Now, you want to enhance/improve the company's website, AND I and all, should applaud you for this, go for it. But the downside (maybe upside) is YOU are gonna have to learn a little more or basically pay someone to do this. It's kind, sorta, how the world works.
Now, we'll help you out with it, but you gotta step to the plate and help yourself, and maybe not learn to be web guru, but enough to get a little Fire Dep website up, managed, and valuable to both users (other FF in company) and the public.
I think you will find it hard, but very rewarding.
I'll help you, for the only reason being fire HOT! I can probaly handle small fires, but, the big stuff, I run away, you guys/gals run the other.
THAT, is impressive
RGraze
08-20-2002, 08:59 AM
Thanks for any and all help that is offered. Just to let you get a better understanding of what I've done here is my site ,
www.mokenafire.org. Also click on the two letters on the bottom "NL" to see what else I'm attempting to do.
DocEvi1
08-20-2002, 11:05 AM
looks good
I wouldn't recommend javscript / java either, but it will suffice if you don't want it that secure - i.e. kiddy's first site :D
Stefan
qball
08-21-2002, 12:56 AM
one, can also try:
http://www.mokena.com/fire/index.htm
http://www.mokena.com/fire/Web%20Crap/MOKE3.htm
so what's:
http://www.mokenafire.org./
just goofing, but 'what's the capacity of the water tower?'?
RGraze
08-22-2002, 09:59 AM
The capacity is alot. But any way, what program do I need to put a password protected page? The info I am going to put on the page is not that important, kinda like a members only page.
qball
08-22-2002, 10:56 PM
The capacity is alot...
I like that. How many fires can one put out with water in water tower? I'll guess, 'alot'.
Sorry, sorry...
You'll need to use the same programs that allow you to HAVE(host) a webpage.
Think of it this way.
How do you add pages to site? Don't you login to ISP and upload pages?
How does that work?
RGraze
08-25-2002, 02:34 PM
Ok, I log into an isp that hosts our site, thats how I update the page. I just don't know the meat and potatoes of putting in a password protected page or link. The pron sites have a member only. This is kind of what I want. I am also a good learner.
Vernon Frazee
08-25-2002, 03:05 PM
http://kerlins.net/bobbi/technology/spin/passprotect.html
http://javascript.internet.com/passwords/
qball
08-25-2002, 11:09 PM
Ok, I log into an isp that hosts our site, thats how I update the page.
So, ISP, knows how to PP.
Learn how.
Talk with your ISP, you pay them, not other way around, I hope.
They may offer this service already, or for $. Find out.
Start at the ISP.
Tell them your prob, see if they can help.
If you do the above, you will learn.
user0209
08-28-2002, 10:37 PM
Hi GRaze
I don't know where to start to help/answer you because your original post lacks essential info. So you are able to publish web pages, but to whose server (your own, another's)? what are server's capabilities (asp, php, perl, etc) Do you have privileges to use those capabilities?
Writing a password protected site (composed of many pages) is rather simple. Think you're puting a lock (a piece of code) on every room (page) of a house (site). Whoever has the key (password) can access the room. The checking process is done by the server.
Hope that help.
ironik311
08-29-2002, 01:00 AM
You can use a remotely hosted CGI script to password protect pages if you like. Its quick and easy and you don't need to program or anything. I use the one at www.bravenet.com
You get an account. Choose the password protect option and cut and paste the code into your website. You can update the pages and passwords Via bravenet.
Just a suggestion - nice and quick.
rick42
08-29-2002, 11:02 PM
check with your ISP. If they are running the Apache web server, your could set up your own .htaccess file in your directory to control access. You may also need a htpasswd file with the encrypted passwords in in. http://membres.lycos.fr/limagerie/thumbsup.gif
pauloh22
08-31-2002, 02:48 AM
just go to this website...its really easy to set up
http://www.euronet.nl/~arnow/htpasswd/
qball
09-02-2002, 12:37 AM
just go to this website...its really easy to set up
Is it? wait, what is 'really easy to set up'?
website or protecting it with password?
a few examples would be nice.
let's start with yours!?!?
Originally posted by RGraze
Thanks for any and all help that is offered. Just to let you get a better understanding of what I've done here is my site ,
www.mokenafire.org. Also click on the two letters on the bottom "NL" to see what else I'm attempting to do.
Hi RGraze!
Tried to enter your site, but its one of the slowest sites
I have ever visited. I have a 2 MB connection and the
IE 6.0 struggled for about one minute, then stopped...
Anyone else got that problem?
Later
Gobi.
Vernon Frazee
09-09-2002, 06:14 AM
Try this link:
http://www.mokena.com/fire/index.htm
RGraze
09-09-2002, 09:28 PM
We don't pay anything to have our site hosted unless we go over a certain amount, perks of being a fire dept I guess. I really don't know much about the host other than how to upload my pages.
Thanks for your help.
Vernon Frazee
09-09-2002, 09:56 PM
The server that mokena.com (216.247.161.10) is being hosted on is reporting that it is running "Microsoft-IIS/5.0".
ArkTiK
09-11-2002, 04:55 AM
Are there any oterh altrenative methor of password protecting a web page ? the first one would work well accept it wont work for me... I guess its just my server... and I dont really wanna use a java one because they are way to easy to get by.
bubbagumpshrimp
09-19-2002, 01:27 AM
yes well if u wanted to put some php into ur part of ur website, u could put the password in a one way encryption thing, im not sur about if this protects the source, but im pretty sur it does, and o yes, dont use dictinary words o/wise to a cracker, u might as well just put a password dialog box with the pw in the src. well heres the command for the php password encryption
md5(password) where it sez password, u put into the page the passwrod
im not sur if u hav to put the <php? and the php? tags around that.....i actually like php better than html........for at least server stuffs, good luck!
SysOpt.com
Copyright Internet.com Inc. All Rights Reserved.