adding login/logout

  • D2 Traders
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Apr 08, 2004
  • Posts: 14
  • Status: Offline

Post April 11th, 2004, 11:31 pm

I found a great host for free but they only let me use html so i was just wondering if you can add a login/logout on a website using html. If so i could someone tell me the code? thanks a lot.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 11th, 2004, 11:31 pm

  • alpha5th
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Apr 09, 2004
  • Posts: 8
  • Loc: Denmark
  • Status: Offline

Post April 12th, 2004, 12:27 am

I don't think it can be done in pure HTML.

You can do it in javascript, allthough this is not very secure at all, or you could use .htaccess/.htpasswd. Otherwise you'd need to use a language like perl, php etc.
  • D2 Traders
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Apr 08, 2004
  • Posts: 14
  • Status: Offline

Post April 12th, 2004, 6:35 pm

ok, i know this is a dumb question but a lot of people have told me about html not being secure. What do they mean by that?
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post April 12th, 2004, 7:40 pm

It's actually the javascript that you would use for logon that would not be secure. Javascript is a clientside scripting language, meaning the server does nothing more with it than send it to the end-users computer to let them do all the processing. The problem with this is passwords can be "cracked" simply by looking within the pages source code, which i guess alot of people know and thats why they ask how to hide thier source code. (which is 100% impossible) Even if you place the passwords in other files it is still easy to get it one way or another.
With server-side logons, a forms data is POSTed to a server page that no one will ever see.
Strong with this one, the sudo is.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 154 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.