Questions tagged [asp.net-authentication]

Questions regarding ASP.NET identity authentication methods

ASP.NET, in conjunction with Microsoft Internet Information Services (IIS), can authenticate user credentials such as names and passwords using any of the following authentication methods:

  • Windows: Basic, digest, or Integrated Windows Authentication (NTLM or Kerberos).

  • Forms authentication, in which you create a login page and manage authentication in your application.

  • Client Certificate authentication

ASP.NET controls access to site information by comparing authenticated credentials, or representations of them, to NTFS file system permissions or to an XML file that lists authorized users, authorized roles (groups), or authorized HTTP verbs.

ASP.NET Web Application Security

185 questions
0
votes
1 answer

MVC 5 Windows Authentication logic

I am trying to understand how to create MVC5 website with Active Directory authentication. Also I want to manage users. So for this I created a simple project in VS2013 and selected "Windows Authentication". When I run the application I get…
0
votes
1 answer

Overriding the .net authentication SQL queries to be more efficient by not using the LOWER function

Having audited out SQL queries, we noticed that some of our most expensive queries are made by the .net authentication framework, where the LOWER function is used (see example below) Our database is case-insensitive, so this provides a needless…
CodeToad
  • 4,656
  • 6
  • 41
  • 53
0
votes
1 answer

Login Modal With No Page Redirect ASP.Net MVC Can't Authenticate In A Partial View

After logging in successfully in the Account Controller I try to render _LoginPartial.cshtml to switch the text in my navbar from "Log In" to "Log Out" ("log out" is in a form and has a antiprivacy token. I'm calling RenderRazorViewToString to call…
chuckd
  • 13,460
  • 29
  • 152
  • 331
0
votes
1 answer

getting Roles that already set to custom Authorization attribute?

I customized the authorize attribute of Asp.Net but I do not know how to get the roles which I set to the attribute when I set the attribute to a method or class For example I have this CustomeAuthorizeAttribute…
0
votes
2 answers

Custom vs. Built-In Authentication in ASP.NET Web Forms and MVC

I am going to build two web applications, one in MVC and another in Web Forms. I am confused about whether I should use the built-in authentication system available in ASP.NET and MVC, or if I should create a custom authentication system of my own.…
0
votes
1 answer

About windows authentication

I enabled windows authentication for asp.net mvc project. I'm in company domain, and when I send an get request to server side, I don't see any special stuff like username/pwd in header/body. How does server know who am I? And if I send an ajax call…
0
votes
1 answer

ADOMD.NET connection string with user id and password

From asp.net web application connecting the SSAS cube. Need to pass user credentials to the connection string. Web application is authenticated with windows identity. Web application users doesn't have access to SSAS, need to access SSAS with a…
0
votes
0 answers

Remove asp.net MVC Entity Framework auto-generated Global Uniquie Identifiers?

I just noticed that in the database for the auto generated ids for the default authentication users table the id is not an integer, it is a very large string.b(GUID) here is an example: a202fc44-7319-499e-80b8-96822f5833c0 Now all of the delete…
Zapnologica
  • 22,170
  • 44
  • 158
  • 253
0
votes
2 answers

delete a user based on id from my databse context

I am trying to implement the basic delete action method for a user: private User_Manager_Interface.Models.ApplicationDbContext userDb = new User_Manager_Interface.Models.ApplicationDbContext(); // POST: /Users/Delete/5 [HttpPost] …
Zapnologica
  • 22,170
  • 44
  • 158
  • 253
0
votes
0 answers

The number of users authenticated under one account in asp.net mvc application

I have ASP.NET MVC 3 application and wonder if it is possible to make unlimited access of users logged in using the same account? What is the maximum permitted number of such users? Taking into an account that users work in the app simultaneously.…
Gyuzal
  • 1,581
  • 10
  • 52
  • 99
0
votes
1 answer

How could I use my own database table for MVC 4 user control (and authorizing with boolean fields in role table)?

Hello guys I having been keeping searching for answers for a few days and read couple of posts already but still quite confused. I am using a user table with fields including First Name, Last Name, Email, Password, RoleID and other stuff like phone…
0
votes
1 answer

Azure Web Role Authentication Strategies

I have a web role project in ASP.NET made for Azure deployment and need to have authentication. I have to choose between Office 365 and On-Premise Active Directory. Looks like both needs to be integrated to Azure Active Directory using Access…
0
votes
1 answer

LogIn Control's Remember Me checkbox would not authenticate user when checked

I have set the cookies in my web.config . . as well as…
0
votes
3 answers

html/Javascript Clientside User Login

I am adding authentication to my web application. It is an asp.net mvc single page application. Currently the web application is using the asp.net mvc for only one thing, authentication. I check the Request.IsAuthenticated in the AppController, if…
Matt
  • 3,305
  • 11
  • 54
  • 98
0
votes
2 answers

aspnet_regsql and deployment to Azure

I'm pretty new to Azure and trying to work on deploying an already existing MVC 3 website (I'm late to the project). It has membership information (where the tables should be genned from aspnet_regsql) and it links those tables to application…
Quibblesome
  • 25,225
  • 10
  • 61
  • 100
1 2 3
12
13