redho home | products | services
Web Design Forums

Web Design Forums  


Web Hosting, Web Design, Software and Web Development Forums  
 FAQFAQ   MemberlistArchive  Log inLog in   RegisterRegister 
         

mail server security



 
Post new topic   Reply to topic    Web Design Forums -> HTML forum
View previous topic :: View next topic  
Author Message
Ikopar



Joined: 26 May 2006
Posts: 168
If sending a username and password through email when someone forgets their info is such a bad idea, then why do so many sites do it, and what better way is there?
  Reply with quote


Roombor



Joined: 02 Jun 2006
Posts: 111
Why is it a bad idea?
Yeah
So does it when the users enters his password on your site
(unless you use https :)
  Reply with quote
Ikopar



Joined: 26 May 2006
Posts: 168
Yeah, for that i'm hoping to use some kind of encryption
  Reply with quote
Roombor



Joined: 02 Jun 2006
Posts: 111
Do you think it's necessary for your site to have that kind of security?
  Reply with quote
Ikopar



Joined: 26 May 2006
Posts: 168
Probably not, but people i've talked to have kind of made me paranoid
  Reply with quote
Roombor



Joined: 02 Jun 2006
Posts: 111
Haha :)
You can send out pgp encrypted mail ;)
  Reply with quote
Ikopar



Joined: 26 May 2006
Posts: 168
Oh man, i don't know if my hosting thing supports that, i've never even heard of it
  Reply with quote
Roombor



Joined: 02 Jun 2006
Posts: 111
Btw you dont have to send the password in the mail
  Reply with quote
Ikopar



Joined: 26 May 2006
Posts: 168
What else would i do, create a link with a random key in it that gives them the password on my site?
  Reply with quote
Roombor



Joined: 02 Jun 2006
Posts: 111
Yeah something like that
Theoretically they can sniff out that link ofcourse
  Reply with quote
Ikopar



Joined: 26 May 2006
Posts: 168
Yeah, that would be a little harder to crack, but someone could...yeah, exactly
  Reply with quote


Roombor



Joined: 02 Jun 2006
Posts: 111
Would they really go to such lengths to hack some account to your site
  Reply with quote
Ikopar



Joined: 26 May 2006
Posts: 168
No, probably not
Submitting the password when logging in is probably a more pressing matter, no?
So that should be the first security measure i should take
  Reply with quote
Roombor



Joined: 02 Jun 2006
Posts: 111
Your host probably supports https
  Reply with quote
Ikopar



Joined: 26 May 2006
Posts: 168
Is that the same as SSL? i think they wanted me to pay an extra 150 a year or something ridiculous like that
  Reply with quote
Roombor



Joined: 02 Jun 2006
Posts: 111
Oh :)
It's http with ssl encryption
Maybe they ask that much because they have validated ssl certificates or something
Validated = signed
  Reply with quote
Ikopar



Joined: 26 May 2006
Posts: 168
Bah, i figure i could probably do the same thing myself right? with some javascript perhaps
Encode the password client side
  Reply with quote
Roombor



Joined: 02 Jun 2006
Posts: 111
That wont really help
They could still sniff the hash and send that directly to your server
  Reply with quote
Ikopar



Joined: 26 May 2006
Posts: 168
Damn it
Wait, what if there's a random key stored in a javascript variable
That dictates how it's encoded
And...oh, but it'd have to send the key too
  Reply with quote
Roombor



Joined: 02 Jun 2006
Posts: 111
Yeah :)
  Reply with quote
Ikopar



Joined: 26 May 2006
Posts: 168
No, the key could match on the server, it could be stored both places
It has to be send originally though, bah
Security is hard
Roombor: can i limit access to a page so that only other pages on my domain can access them? because that way they couldn't send the hash directly to the page, it's a JSP in this case
  Reply with quote


Roombor



Joined: 02 Jun 2006
Posts: 111
maybe the random key thing will work
If you store the pass md5 encrypted server side + some random generated key
On the client side encrypt it once with the normal key, and encrypt the hash with the random key
Send it back to the server, on the server encrypt the hash with the random key, compare and generate a new random key
If they sniffed the hash it will be useless since the random key has changed
  Reply with quote
Ikopar



Joined: 26 May 2006
Posts: 168
thanks, you've given me some good ideas
  Reply with quote
Roombor



Joined: 02 Jun 2006
Posts: 111
;)
  Reply with quote
Page 1 of 1
Post new topic   Reply to topic    Web Design Forums -> HTML forum


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Powered by phpBB © 2001, 2005 phpBB Group