HTML logins - do they exist?

Associate
Joined
18 Oct 2002
Posts
966
Location
Ipswich
Hi,

I don’t know if the title was the best way of describing this, but anyway....

I am creating a site, which needs a login area to prevent Tom, Dick and Harry from looking at a page or series of pages content.

It's not like a member’s area where user details need to be recorded. Just an area that requires (for example) a registered email address as a form of security.

Obviously the list of accepted logins needs to be hidden from the code to prevent unauthorised access. The list also needs to be easily updated.

The reason the title requests HTML is because that’s the only language I have experience with, but I realise a language like java might be required to do this.

Any ideas / suggestions / links gratefully received.

Cheers,

ICE
 
a .htaccess file would probably be the easiest and most secure, otherwise some kind of simple javascript login could be used but that would be pretty easy to get past.
 
this is probably going to be useless for you but if you had web hosting with company that does .net hosting then asp.net auto creats loggin scripts database etc for you all you need to do is put your protected stuff behind a folder with a webconfig file saying who is allowed.

else if your hosting company allows for windows authetication (I think it is) you can use that about safest protection you will get. Pretty much what Hamish said.

You cant really use Javascript since it client side which means they only have to look at the source code.

I would try learning asp, php or asp.net they are all pretty much easy to learn. If you want a challenge then learn jsp or coldfusion as the first one is truely annoying but then again I never liked Java since I started at uni lol...thank god it my last year.
 
Thanks for the input lads, it looks as if I will be going down the .htaccess route. Does anyone have any easy to use guides for this?

Thanks again.

ICE
 
Back
Top Bottom