From the course: JavaScript: Security Essentials
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Best practices for scrambling data - JavaScript Tutorial
From the course: JavaScript: Security Essentials
Best practices for scrambling data
- [Instructor] When you build your web application, always be aware that it is fairly easy to see your client-side code. Any developers or hackers can simply bring up the developer's console and start reading your code and even insert commands into the console to check if any functions can open doors to explore in your application. And if your code is poorly written, the hacker could even see the data from your application and start playing with it. And I'd hate to repeat myself again, but the first rule is to follow all elements we've mentioned thus far. Unauthorized users shouldn't be able to see any sensitive data or be able to insert commands into the code that isn't safe. Watch all the best practices to properly fortify your application. Then if you truly want to make your code unreadable, leverage the tools we've explored in this chapter. So when a hacker goes on a quest to find exploits in your code, you'll make his life that much harder by hiding your actual code. And if you…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.