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

OAuth without ASP.NET Identity

This is a subjective / design level question. I am implementing OAuth JWT authentication / authorization mechanism for my web api. I have my own user store which is held in a sql server database....

View Article


Image may be NSFW.
Clik here to view.

Unable to proceed to Login via OpenID

Hello.I used this tutorial to create a ASP.NET MVC 5 App with Facebook, Twitter, LinkedIn and Google OAuth2 Sign-on.I created two apps, one on google, another on facebook. I think those parts are...

View Article


Using SessionSecurityToken written to Cookie is causing AJAX web service...

Good Morning,I have a POC application I'm writing that is using Claims Authentication / Authorization providers. It is using claims, as expected and I even have it working with the...

View Article

MS Edge and Identity

I have created a site using MVC and Identity version 2.1.0. I have discovered a bug/security hole in MS Edge/IE on Windows 10 and need to know how to get around it.  I have the site setup to allow an...

View Article

FederationMetadata.xml tags generation

I'm building my FederationMetadata.xml using the great tool by Shawn Cicoria (http://stackoverflow.com/a/6535174/975520) and with some tweaks I'm near my correct solution.I need to...

View Article


CreateUserWizard forcely login the newly created user

I have one admin page where admin can create another user. I am user CreateUserWizard for this purpose. There is one more CreateUserwizard on registration page but admin has another to create some...

View Article

Solution for a big project

We are doing a solution for government of one of European countries. There will be around 20000 users. There will be roles and access based on logical criteriaWe have Web API (v4.0), Angular SPA client...

View Article

How to get user NT Name in client side

Hi,I need to get user NT Name from client side. I tried using ActiveXObject but its not working in all the browser. Do you have any other solution to get the NT Name from client side.Thanks...

View Article


Using OpenIdConnect for Office365 authentication after being redirected to...

I have an Web Application that I am authenticating to the Azure AD for Office 365 integration.  Authenticating against Office365 account seems to work just fine, however when I am redirected...

View Article


Membership error

Hi all,I develop an asp.net mvc project, and I want to use membership, I tried the membership in the web.config below:<membership...

View Article

Converting JWT (json Web token) into key value pairs in WebAPi

I can access jwt inside my web api action by accessing it's Autorization Headerstring jwt=Request.Headers.Authorization.ToString(); string jwtArray = jwt.split('.');//Now i want to convert it's payload...

View Article

using Gmail instead of SendGrid

hi ..I want to add reset password to my website as explained in the below link, but I would like to use SMTP (Gmail) instead of SendGrid. Any...

View Article

How to enable Password Recovery in ASP.NET Web Forms Site

Hi..I am using VS Express 2013 for web. I created a new website-ASP.NET Web Forms Site. I wonder how to enable Password Recovery. It is only available when creating a web project not a website. Please...

View Article


Twitter and Facebook Re-Authentication

I'm using OAuth in my web app, and users can login with twitter and facebook.I want to add "switch twitter and facebook account" button, which actually clears the session and then invokes the...

View Article

Error after move to Windows 2012 R2 server

Hi,I have to identical websites with a custom made membership control based on the default ASP.NET membership components. I moved it to a new Windows 2012 R2 server. It is an exact copy of the old...

View Article


Authentication using Google API in asp.net identity

I have implemented external login using Google API.when I click on Google,it asks for username and password.After entering valid user name and password I am able to login into application.when I click...

View Article

myscript.cmd cannot access network files from ASP.NET web handler

I have a web handler C# program that calls CreateProcessAsUser() using DuplicateTokenEX() to run a cmd.exe /c myscript.cmd using impersonation and delegation but it cannot access a file via a UNC...

View Article


PasswordRecovery in creating a website not a project

Hi.. I am using VS Express 2013 for web. I created a new website-ASP.NET Web Forms Site. I wonder how to enable Password Recovery. It is only available when creating a web project not a website. I...

View Article

Licensing for an offline intranet application

I am using Web Pages with .net 4.5. What I did so far.First install this library - https://nuget.org/packages/Portable.LicensingOr from Packet Manager ConsolePM> Install-Package...

View Article

2 users using the app simultanously; info got crossed?

Hi,I'm working on a MVC3 app with c#, EF, razor. It also have some web forms code as well.We just hit an issue - 2 users are using the application simultanously, each logged in with their own...

View Article
Browsing all 4737 articles
Browse latest View live


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