She wants me to make a math site, which has log in and things like that this. I don't want want to run a server on my machine, so I got to thinking and asking around. I was thinking that I could make a Java Appler (or something, I don't know Java) which would have some user names and passwords and if you type one of these your password would be correct and you'll get in. What I was thinking is have this Applet run everytime the page is loading and have it loop until one these passwords is created and then if it's correct finish loading the page, otherwise after a few tries you would be redirected to nopassword.html......do you think this is possible?

02-27-2002

nvoigt

Though I don't know much about it, I would suggest using php. It's very similar to C. If you like, you can easily have a database in the background. There are tons of tutorials around.

For password varification, you would be better of with some sort of serverside programming (Your program or script sits on the server and decides what pages to make available to the browser - just like this site).

The problem you have is that many servers able to do this are not cheap......you will probably find a few freebies if you try though...

This is what I was thinking, make an applet that loads when the page is loading up and it would stop the page from loading (it would start looping) until a password is entered, if the right password is the page continues loading if the worn password is typed after about 3 tries then you would be redirected to nopassword.htm where there would be a form where people would enter their desired password and username. The passwords would be stored in the Java Applet, people would have to update the password list manually and then have to recompile (?) the code everytime. The other reason why I want to make it an applet is so people won't be able to view the passwords which would be stored in the applet. Think this would work? Could you give me a link to a Java compiler. Because I don't want to set up a server or something like that right now.

02-27-2002

Brian

People would be able to download the Java Applet and see the passwords within the applet.

02-27-2002

incognito

oh damn........you serious? Can't you disable that?

02-27-2002

incognito

How would people download this Java Applet because I tried downloading some of the Java Applets I saw online and couldn't.
I would disable right click on the page, so you couldn't just right click and download.

02-27-2002

incognito

You also have to remember some of these kids don't even know what Java is.

02-27-2002

incognito

Ok Sorry I know this is not a Java site I will try to keep the questions about Java to a mininum, but could you please give me a link to a good Java compiler download page.

02-27-2002

Yoshi

>>I would disable right click on the page, so you couldn't just right click and download.

It will not work.

If a person's smart enough to click the left one, hold, and then click on the right one (1+2=3)and then releasing the left one, he/she has got it. Besides, this thing only works for IE.

02-28-2002

Fordy

Sorry to burst your bubble, but for someone to view your applet, they have already downloaded it....and you can dissasemble java in about 10 seconds and find the password......Should you continue on this line? - It depends on the skills of the people using the site

For password verification, you need serverside scripting. php, asp, aspx, jsp or something else. For serving it, you need a webserver: IIS, Apache or something else. The cheapest and well documented combination is Linux/Apache/Php. If you don't like Linux, you can run it on windows as well.

03-01-2002

incognito

Well I told her about the vulnerability of this thing and she told me that she didn't care........besides most of theses kids haven't even heard of Java.

03-01-2002

bobish

you know right clicking isn't the only way to save you could also press ctrl+s or go to file/save in your browser. at any rate don't expect to have this out by next week try learning some web design before making a web page hosting isn't to bit a problem for one thing see if you can host it on yours schools server if not there are plenty of other free web host but most of them require you to put up a banner.