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

84
Visualizações
Blazor c#, protection ServerSide application

First, I am trying to understand how to protect blazor application from attacks. I have a JavaScript function that calls c # code. I've noticed that when I publish a project, the static files are not obfuscated. This means that I can see the code of my js files on the client side and I can easily modify these files. I wonder how to protect this situation as an attacker can inject an infinite loop into my application, then the server side CPU will process this call.

For example:

I have line:

callback.invokeMethodAsync('OnEvent', "sample data");

attacker can write this in devtool on client side:

while(true) 
   callback.invokeMethodAsync('OnEvent', "sample data");

Then my application processes infinitely with the method:

OnEvent(string data)

The second problem is the transparency of static files in the ./_content folder. I can see all the libraries used in my project. I think this is a potentially dangerous problem because when the library manufacturer makes a vulnerability, my entire application is exposed to attack. Has anyone had a similar problem? Maybe there is a way to fix these imperfections.

about 4 years ago · Juan Pablo Isaza
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