PDA

Click to See Complete Forum and Search --> : Passwords using FrontPage


CyberCarsten
Jan 1st, 2004, 12:01 PM
Hi
I have created a discussion web, and I would like to use username and password to enter the site. The site must have an registration form.
I knew how to do this in FrontPage 98, but i can't figure it out in FP 2003....

Kasracer
Jan 2nd, 2004, 06:01 PM
Many many many ways exist to doing this, you should give some more info like the server (Apche? IIS? OS X?), Scripting available (PHP? ASP?), Databases? ect....

Also, I recommend not using FrontPage. It creates bloated code and it's usually quite bad compared to the standard it should be following.

Now that that is out of the way, you have several options.

1. One of the best ways would be to use a .htaccess file. If you're site is hosted on Apache, you could write a simple .htaccess file and NO ONE can enter the file/folder you protect with it without the correct password.

2. You could use PHP or ASP for this. Both, since their on server side, would be better than a client side solution.

3. You could always use Java Script, or VBS to do this, but they are very easily hackable (it's client side after all).

If you told us a certain type of solution you were looking for, I could have given you a link and some information, but since you didn't I gave you some suggestions. Google whatever one you want and you'll find alot of good tuturials on them and copy/pastable code.

If you would like to drop FrontPage (I really wish you would), check out the following:
W3C Schools to learn HTML and XHTML and, eventually, CSS (http://www.w3schools.com/default.asp)
W3C.org to check to see if your code validates and to read up on the standards (http://www.w3c.org)
Glish' CSS positioning resource. This page is perfect for ANYONE who wants to learn CSS positioning and other CSS related things. (www.glish.com/css)

CyberCarsten
Jan 3rd, 2004, 04:29 AM
Yeah, I know FP isn't that popular :D, but its quite easy to make a password protected web(or at leeast it was).
What I want, is to create a web,done, and then make that web password protected.

Kasracer
Jan 3rd, 2004, 02:35 PM
Originally posted by CyberCarsten
Yeah, I know FP isn't that popular :D, but its quite easy to make a password protected web(or at leeast it was).
What I want, is to create a web,done, and then make that web password protected. Yes, we already know you want a page password protected. I asked which method do you want to USE to protect it.

CyberCarsten
Jan 3rd, 2004, 02:40 PM
I don't really know any other methods, expect the one I used in FP 98, where I choosed to password protect the web. I know there is also ASP and PHP, but I don't know much about that....maybe you could show me some good and simple methods...??

Acidic
Jan 3rd, 2004, 04:09 PM
How secure do you want this? I could write something in JavaScript which is not secure (to some1 who tries hard enough), but it will do the trick if you're not hiding important data.

Do you have a server that this is hosted on? If yo do, then asp or php should do the trick, and it would be totally secure.

Kasracer
Jan 3rd, 2004, 07:02 PM
Originally posted by CyberCarsten
I don't really know any other methods, expect the one I used in FP 98, where I choosed to password protect the web. I know there is also ASP and PHP, but I don't know much about that....maybe you could show me some good and simple methods...?? Thing is, I don't use those horrible programs (and I really wish you didn't either) so I don't know what method it used. It may have thrown in some simple java Script, or maybe used a Frontpage extension? (shudder).

CyberCarsten
Jan 4th, 2004, 06:50 AM
When I did it in FP98, i setup the web to be protected(in the FP explorer) and when someone tried to access the web, they were met by a login dialog. This would be the easiest for me since I don't know anything about PHP, ASP or Java.....
But I see your point........

Kasracer
Jan 4th, 2004, 11:49 AM
Originally posted by CyberCarsten
When I did it in FP98, i setup the web to be protected(in the FP explorer) and when someone tried to access the web, they were met by a login dialog. This would be the easiest for me since I don't know anything about PHP, ASP or Java.....
But I see your point........ Yeah, that still doesn't tell me what method it used.

Check out www.hotscripts.com and find a password protecting script in Java Script. You probably don't even have access to PHP and if you did password protect in FP, I highly doubt you'll need something above Java Script.