Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Artificial Intelligence for Cybersecurity
  • Table Of Contents Toc
Artificial Intelligence for Cybersecurity

Artificial Intelligence for Cybersecurity

By : Bojan Kolosnjaji, Huang Xiao, Peng Xu, Apostolis Zarras
4.3 (4)
close
close
Artificial Intelligence for Cybersecurity

Artificial Intelligence for Cybersecurity

4.3 (4)
By: Bojan Kolosnjaji, Huang Xiao, Peng Xu, Apostolis Zarras

Overview of this book

Artificial intelligence offers data analytics methods that enable us to efficiently recognize patterns in large-scale data. These methods can be applied to various cybersecurity problems, from authentication and the detection of various types of cyberattacks in computer networks to the analysis of malicious executables. Written by a machine learning expert, this book introduces you to the data analytics environment in cybersecurity and shows you where AI methods will fit in your cybersecurity projects. The chapters share an in-depth explanation of the AI methods along with tools that can be used to apply these methods, as well as design and implement AI solutions. You’ll also examine various cybersecurity scenarios where AI methods are applicable, including exercises and code examples that’ll help you effectively apply AI to work on cybersecurity challenges. The book also discusses common pitfalls from real-world applications of AI in cybersecurity issues and teaches you how to tackle them. By the end of this book, you’ll be able to not only recognize where AI methods can be applied, but also design and execute efficient solutions using AI methods. *Email sign-up and proof of purchase required
Table of Contents (27 chapters)
close
close
Lock Free Chapter
1
Part 1: Data-Driven Cybersecurity and AI
5
Part 2: AI and Where It Fits In
9
Part 3: Applications of AI in Cybersecurity
17
Part 4: Common Problems When Applying AI in Cybersecurity
23
Part 5: Final Remarks and Takeaways

Practicing user authentication and access control with Python

So far, we have explained user authentication and access control in theory. We have also presented several examples on OAuth2.0 and SELinux in the Ubuntu23.04 environment. In this section, we present several practical examples based on Python to further demonstrate the key concepts discussed earlier.

To try the examples, we need to have a practical component. It requires the following Python libraries:

  • Requests-oauthlib
  • Accesscontrol
  • Selinux
  • Pycasbin

Using OAuth2.0 in mobile application authentication

To implement OAuth 2.0 in a Python environment for a scenario similar to mobile application authentication, you can use the popular requests-oauthlib library. This library provides a high-level interface to interact with OAuth 1.0/a and OAuth 2.0 providers.

In this section, I will guide you through setting up a basic OAuth 2.0 client that could be used to authenticate a user via a third-party...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Artificial Intelligence for Cybersecurity
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon