B
B
BonBon Slick2017-12-26 21:58:09
XSS
BonBon Slick, 2017-12-26 21:58:09

What are the main methods of protecting the service API?

When developing an API for your web service, please tell me the main details that you should definitely take into account?
The first thing to worry about is:
- CORS
- DDOS
- XSS (SQL Injection, Cookie stealers, worms)
- Sniffer
- all sorts of loggers, etc., everything that allows a malicious person to get sensitive data.
Type functions:
htmlentities(), strip_tags(), utf8_decode() etc
As I understand it, CSRF can be thrown out, or?) I
use JWT for authorization

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2017-12-26
@dimonchik2013

the key decides everything
, this does not apply, of course, to filtering the input

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question