O'Reilly logo

SignalR - Real-time Application Development - Second Edition by Einar Ingebrigtsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Security

This chapter will cover how you can secure your SignalR connections, which require authentication and authorization from the client, and also how you can communicate this back to the client in a graceful manner.

In this chapter, we will cover the following topics:

  • General infrastructure needed to secure any web application
  • Creating a login page and using AJAX calls to perform the actual login
  • How to keep users' authentication for your connection
  • How to have a specific role for your connection

At this stage, the developer should be familiar with securing their SignalR connections.

Locking things down

Security is something all applications need to have a relationship with, in one way or another. For instance, let's look at the type of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required