Angular + java Encrypt karanna monawa da thiya widi

jdchathuranga

Well-known member
  • May 4, 2009
    568
    1,348
    93
    37
    Colombo
    හෙළයෙක් said:
    ක්ලයන්ට්ට තේරුන් කරල දීපන් මචන් HTTPS තියෙන්නෙ ඒකට තමා කියල. නැත්තන් උබල සෑහෙන අමාරුවක වැටෙනව ඕක මැනුවල් කරන්න ගිහින්.


    these are mostly applicable for end to end encrypted applications. so https not always secure. its just verification of server. just search Man in the middle attack. it can easily hack https.
    HTTPS is not only for server verification. it encrypts the connection between the server and client/browser
    Yes MITM is possible with HTTPS, but man in the middle has no access to the ssl certificate for the targeted domain, so browser will show Your connection is not private warning and prevent user from accessing the site, it is possible to bypass this browser warning by installing some bogus CA certificates in the users browser/computer, that means the attacker should have access to user's computer, meaning user is anyway compromised.
    That is why browser security and user's computer literacy are two key factor for computer security.

    Also if the MITM is the risk, data is at risk even if you encrypt at the browser, because you don't have a secure way to transfer keys between the browser and the server. SSL is a solution for this very problem. you can implement PKI on top of SSL, then you have to solve how to exchange keys, then you are again back to square one.

    In simple terms, if the user is aware of browser warning it is not that easy(i would say nearly impossible for a random hacker to do this) to hack/MITM on HTTPS connection. Even current super computers are not capable of cracking SSL certificates/keys, but future super computers will have that capability making current SSL standards and implementations obsolete.
     
    Last edited:
    • Like
    Reactions: gnilukshi

    Dr Sue

    Well-known member
  • Aug 26, 2020
    1,317
    1,294
    113
    ක්ලයන්ට්ට තේරුන් කරල දීපන් මචන් HTTPS තියෙන්නෙ ඒකට තමා කියල. නැත්තන් උබල සෑහෙන අමාරුවක වැටෙනව ඕක මැනුවල් කරන්න ගිහින්.
    case ekak moka weid da bn
     

    SLHodahitha

    Well-known member
  • Nov 8, 2017
    3,086
    2,975
    113
    ::0
    elakiri.com
    machan angular + java walin data encypt decypt karanna monawa da thiyana way

    mata ona angular walin encrypt karala
    java walin decrypt karanna puluwan widaiyak
    mata uba kiyanade yanthamata teruna,
    AES, RSA gana poddak balapan, javascript walin ubata oka karaganna nam wena ekak na server side javascript use kale nattam (I am not an IT person, I am QS)

    Wenna ona de dapan, hoda widiyak kiyala dennam. Client la kiyana kiyana eka karana eka nemei ban wenna ona, uta hari de karala dena eka, client always like that, u don't know he needs....
    ------ Post added on Aug 12, 2023 at 5:33 PM