O'Reilly logo

SignalR: Real-time Application Development 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, require the user to be authenticated with specific roles for calls coming from the client, and also how you can communicate this back to the client in a graceful manner.

The topics covered in this chapter are:

  • How to require authenticated users for your connection to accept connections
  • How to require a specific role for your connection to accept incoming messages

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

Becoming private

Security is something all applications need to have a relationship with, in one way or the other. Take a chat like the one we're building for instance, you might want to have private chat rooms or want ...

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