+ 1

Get data with Ajax is unsecure?

Hello guys, i am using ajax to get data in my website. Is my website not fully protected against attack or other criminal activity???

4th Feb 2017, 8:09 PM
Farooq Ahmad
Farooq Ahmad - avatar
2 Answers
+ 7
No! Never!


 (only back-end is protected
)
4th Feb 2017, 8:24 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 2
The question is not related to WHAT you use but HOW YOU USE IT. Below are two links to info about best practices to avoid XSS (cross site scripting) that is a common JS vulnerability. https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet https://www.google.com/about/appsecurity/learning/xss/ If you're even more paranoid you can look at security best practices involving database access.
4th Feb 2017, 8:25 PM
seamiki
seamiki - avatar