Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #35315

Re: Submitting *encrypted* forms via AJAX

Subject Re: Submitting *encrypted* forms via AJAX
Newsgroups comp.lang.javascript
References <075dc3b9-1b96-4bc9-9d88-a79ee815e8e2@googlegroups.com> <1ayv347oigack.t9kcyjsxesx9$.dlg@40tude.net> <pgr199$rfs$1@solani.org> <uvb47mtapk89.1jtol6uw3tk7p$.dlg@40tude.net> <5696879.fPQVyQoktA@PointedEars.de>
From Richard Damon <Richard@Damon-Family.org>
Message-ID <TsBYC.379957$br4.78508@fx34.iad> (permalink)
Organization Forte - www.forteinc.com
Date 2018-06-26 21:09 -0400

Show all headers | View raw


On 6/26/18 10:47 AM, Thomas 'PointedEars' Lahn wrote:
> JJ wrote:
> 
>> On Mon, 25 Jun 2018 17:21:14 +0200, Christoph M. Becker wrote:
>>> Kidding aside: why would you manually encrypt the form submission,
>>> instead of relying on TLS?
>>
>> Why ask me? Maybe he want more security.
> 
> JFYI (as apparently you did not get the joke):
> 
> Data encryption in and by client-side script code is *false* security – 
> “security by obscurity”: It does _not_ increase security *at all* because 
> *you serve* the used encryption algorithm to a potential attacker.
> 
> The proper solution for more security on Web sites are authentication and 
> stronger encryption on the *transport* layer (TLS with big[ger] key lengths) 
> instead.  Not only does this reduce the risk of successful man-in-the-middle 
> (MITM) attacks, it also allows one to determine if the data has been 
> tampered with.
> 
> <https://www.keylength.com/en/compare/>
> <https://www.owasp.org/>
> 

You provide the attacker with no more information than they have when
you use TLS, as the encryption algorithm is just as know. Yes, you do
need to do the encryption 'right' and not use some broken encryption but
it is possible to do it right.

Yes, TLS (if the server has a properly signed key) does provide
verification that you are not being MITM attacked.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Submitting *encrypted* forms via AJAX bit-naughty@hotmail.com - 2018-06-25 02:48 -0700
  Re: Submitting *encrypted* forms via AJAX JJ <jj4public@vfemail.net> - 2018-06-25 22:03 +0700
    Re: Submitting *encrypted* forms via AJAX "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-06-25 17:21 +0200
      Re: Submitting *encrypted* forms via AJAX JJ <jj4public@vfemail.net> - 2018-06-26 14:59 +0700
        Re: Submitting *encrypted* forms via AJAX Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-06-26 16:47 +0200
          Re: Submitting *encrypted* forms via AJAX Richard Damon <Richard@Damon-Family.org> - 2018-06-26 21:09 -0400
            Re: Submitting *encrypted* forms via AJAX Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-06-27 09:45 +0200
              Re: Submitting *encrypted* forms via AJAX "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2018-06-27 00:54 -0700
              Re: Submitting *encrypted* forms via AJAX Jon Ribbens <jon+usenet@unequivocal.eu> - 2018-06-27 13:29 +0000
                Re: Submitting *encrypted* forms via AJAX "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-06-27 15:47 +0200
                Re: Submitting *encrypted* forms via AJAX Ben Bacarisse <ben.usenet@bsb.me.uk> - 2018-06-27 16:00 +0100
                Re: Submitting *encrypted* forms via AJAX Julio Di Egidio <julio@diegidio.name> - 2018-06-27 08:11 -0700
                Re: Submitting *encrypted* forms via AJAX Ben Bacarisse <ben.usenet@bsb.me.uk> - 2018-06-28 01:53 +0100
                Re: Submitting *encrypted* forms via AJAX Julio Di Egidio <julio@diegidio.name> - 2018-06-27 21:48 -0700
                Re: Submitting *encrypted* forms via AJAX Jon Ribbens <jon+usenet@unequivocal.eu> - 2018-06-28 09:17 +0000
                Re: Submitting *encrypted* forms via AJAX Julio Di Egidio <julio@diegidio.name> - 2018-06-28 03:25 -0700
                Re: Submitting *encrypted* forms via AJAX "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2018-06-27 14:04 -0700
                Re: Submitting *encrypted* forms via AJAX "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-06-28 13:54 +0200
                Re: Submitting *encrypted* forms via AJAX "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2018-06-28 13:46 -0700
  Re: Submitting *encrypted* forms via AJAX jecxjo <jeff@sh0.xyz> - 2018-07-02 03:21 +0000
    Re: Submitting *encrypted* forms via AJAX Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-07-15 04:56 +0200
      Re: Submitting *encrypted* forms via AJAX "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-07-16 01:00 +0200

csiph-web