I
I
Isaac Clark2018-02-04 12:49:09
JavaScript
Isaac Clark, 2018-02-04 12:49:09

How to secure the frontend from XSS through the registration form?

Hello. Such a question: the user types in the login text field, which is immediately sent to the server to check for the existence of such.
The problem is that when you enter, for example, https://toster.ru/ , the script will be executed, how to secure this behavior for the frontend part? Escape characters?
Thanks for your help and your time.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2018-02-04
@Dark_Knight

when you enter, for example, https://toster.ru/ the script will be executed
What script? Why did you do that?
Yes, filter or escape the data. In general, it would be nice to escape all user-generated content.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question