Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

162
Visualizações
Security, Cart item information in Cookie

Use javascript.

Some website refresh will not empty the items in cart.

I know I how to set data to cookies.

But users could easily change that data in client, so cart content could be easily destroyed.

That may send incorrect data to server.

How to avoid this situation?

I found shop site always have some strategy to handle that. They never stored clear information in

cookies. They even stop site if some change in cookie.

Do any term or steps about this?

I don't have much basic knowledge about this, I don't know where I could start this.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Typically, the way to transfer data from the client to the server in a secure way is using a JWT Token - this token is signed and if tampered in the client will be rejected/unprocessed by the server.

This token is often stored in a cookie.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda