Quantcast
Channel: Security
Browsing all 4737 articles
Browse latest View live

How many different type of authentications exist in asp.net or web api project

i am only familiar with form authentication. beside form authentication tell me list of names of other authentication scheme for asp.net or web api project.now identity is used for authentication....

View Article


ResetPasswordAsync always failing with invalid token

Hello,I am pulling my hair out. I have stubble left.ResetPasswordAsync in my UserManager<User, Guid> is failing consistently for this reason.I have tried everything StackOverflow revealed,...

View Article


Best way to get user login from LDAP

We have a ldap and active directory for our windows ten domain, I need to be able to let users either<div>Login with their username and password that they use for their pc each morning or Allow...

View Article

Custom UserManager and Custom UserStore

How can I get my custom UserManager to use my Custom UserStore? Right now the UserManager is used the default CreateAsync, and I want it to use the CreateAsync I have in my UserStore. Do I have to...

View Article

Image may be NSFW.
Clik here to view.

Schema specified is not valid. Error.

As per picture mentioned error during access Entity Framework tables in data source. I've built the Microsoft.AspNet.Providers -version 1.2 from nuget console and try insert tables...

View Article


iisClientCertificateMappingAuthentication without any user mapping

Hi All,I am planning to use IIS Client Certificates authentication to authenticate clients. So, client is going to send certificate, and IIS supposed to validate the certificate and allow the client...

View Article

request new login at new session

Hi..I have login with owin and claims....i need that when user reopen my app after close navigator  request login(actually app is keeping autentication :( ...)..how i can disable this implicit  option...

View Article

Could not load file or assembly 'Microsoft.Owin.Security' or one of its...

when i run my project i get error  Could not load file or assembly 'Microsoft.Owin.Security' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057...

View Article


Duplicate UserNames

My app checks for a unique UserName and Email Address upon registration.Recently, a new user registered.  For some reason, StageName did not get picked up from dim username as string = StageName.txt....

View Article


How to throw a valid usefule message when security token expires.

I am using Owin authentication with JWT tokens. My application is webapi, with ui in angularJs. Right now, when the token expires I get 401, unauthorized. I am showing the message "Un authorized" from...

View Article

What is difference between form authentication and claim authentication

i am familiar with form auth. so tell me how claim authentication is different than form auth ?discuss with example for clarity. thanks

View Article

Can an Indentity-Owin type protected View be relaxed to survive an offline...

 .. again please excuse if dumb q :)  I'm not an Owin nor mvc expert or nuttin.. And not fully understand and may not be Owin related.----------Question: Can an Indentity-Owin type protected View be...

View Article

What is relation between identity and cliam authentication

anyone can explain  what is relation between identity and claim authentication with example.i found below one Claims Based ASP.NET Identity supports claims-based authentication, where the user’s...

View Article


Persisting user cookie

I want to create user preferences cookies and persist them even after user session expires. In the cookie, I will store things like some of user preferences, their avatar URLs, etc. I want these...

View Article

Is there any difference between access and bearer token ?

give me idea about access and bearer token. both are same or totally different. if they are different then discuss about what is access and bearer token and how they use in real life system. thanks

View Article


Confirm Email problem with token, valid time for code

Dear AllI have very strange problem with Identity 2.0, during creating new user is genereting email confirm link, when I try use email link after short time everything is fine but when I try use email...

View Article

Restrict users - windows authentication

Hi,I have a website which uses Windows Authentication. I need to restrict access to only a few users, who are present in a local database. How can I achieve it? For example, my database has...

View Article


Membership Password Strength Regular Expression Property

Could somebody examine the cited expression on microsoft site, it keeps giving me error every time i past it!<membership defaultProvider="SqlProvider" userIsOnlineTimeWindow =...

View Article

Json Web Token (JWT) SSL?

Split off from http://forums.asp.net/t/2087872.aspx?What+is+Json+Web+Token+JWT+I heard that JSON Web Tokens (jwt) does not go well with https or ssl. is true ?how to over come this problem if anyone...

View Article

Add claims on successful login and retrieve it elsewhere in the application

Hello,I have a little problem with claims with asp web api authentication, I have the default authentication with asp web api with this code: public override async Task...

View Article
Browsing all 4737 articles
Browse latest View live


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