From the course: JavaScript: Security Essentials

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Best practices for scrambling data

Best practices for scrambling data - JavaScript Tutorial

From the course: JavaScript: Security Essentials

Start my 1-month free trial

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 exploit 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…

Contents