Book Image

SignalR: Real-time Application Development - Second Edition

By : Einar Ingerbrigsten
Book Image

SignalR: Real-time Application Development - Second Edition

By: Einar Ingerbrigsten

Overview of this book

Table of Contents (19 chapters)
SignalR – Real-time Application Development Second Edition
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
11
Hosting a Server Using Self-hosted OWIN
Index

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.