53GB

Windows authentication and authorization in asp.net Part 88



Windows authentication and authorization in asp.net Part 88

Text version of the video
http://csharp-video-tutorials.blogspot.com/2012/12/windows-authentication-and.html

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.
https://www.youtube.com/channel/UC7sEwIXM_YfAMyonQCrGfWA/?sub_confirmation=1

Slides
http://csharp-video-tutorials.blogspot.com/2013/08/part-88-windows-authentication.html

All ASP .NET Text Articles
http://csharp-video-tutorials.blogspot.com/p/free-aspnet-video-tutorial.html

All ASP .NET Slides
http://csharp-video-tutorials.blogspot.com/p/aspnet-slides.html

All Dot Net and SQL Server Tutorials in English
https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd

All Dot Net and SQL Server Tutorials in Arabic
https://www.youtube.com/c/KudvenkatArabic/playlists

In Part 87, we have discussed the basics of windows authentication. In this session, we will continue to discuss about windows authentication. Please watch Part 87, before proceeding.

Link for Part 87
http://www.youtube.com/watch?v=zftmaZ3ySMc

? and * have special meaning when used in the authorization element in web.config.
? (Question Mark) – Indicates anonymous users
* (Star) – Indicates all users

In this video we will discuss about
1. Allowing or denying access to specific users
2. Using windows roles to control access
3. How to programmatically check if the user belongs to a specific role
if (User.IsInRole(“Administrators”))
{
// Do Admin Stuff
}
else
{
// Do Non-Admin stuff
}

Exit mobile version