Quantcast
Channel: Web API
Viewing all articles
Browse latest Browse all 4850

Securing web api2 with storing username password in sql server

$
0
0
<div class="post-text" itemprop="text">

I need to implement secure WebApi2, having token based authentication. However, the username and password should be stored in SQL server database.

Found an article "http://www.asp.net/web-api/overview/security/individual-accounts-in-web-api". It appears that this is mainly using Azure services, any idea on how to change this to use SQL Server?

I tried updating web.config with the actual connection string however that gives 500 - Internal server error.

</div>

Viewing all articles
Browse latest Browse all 4850

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>