How to access WebHDFS REST service from C# .NET client
Client is a .NET web application hosted on Windows 2008 server trying to access WebHDFS service on Hadoop server (Unix) that is secured using Kerberos security..Net client code that used to work before...
View ArticleHow do i redirect user to login if not authenticated
Example at looking at the code below it doesn't check if the user is authenticated because if am user1 and i goto the URL and type 2 as id i will be able to see the user2 page and data which not...
View Articleforms authentication redirect to logon.aspx page - receives the error access...
Starting page from VS2013 = manageusers.aspxURL in browser redirects me to the logon page as it should but instead of displaying the logon page I receive an Access Denied error. Redirect URL:...
View ArticleIdentity 3 custom passwordhasher
I can't quite seem to piece together how to get a custom passwordhasher working in Identity 3 with ASP.net 5/MVC6. I have an existing user database which had it's own mechanism for password hashing,...
View ArticleMachineKey API not able to decrypt data after app pool restart
Hello Folks,I have used System.Web.Security.MachineKey.Encode('mydata', MachineKeyProtection.All) API to encrypt a piece of information stored in XML file. This seems to work fine but under certain...
View ArticleIIS 7.5 authentication issue.
I have an MVC4 website that runs just fine in vs2015 with IIS express, but now I've tried to deploy it to a local instance of IIS 7.5 and I'm having an issue. I get the following error:Access is...
View ArticleAsp.Net 4.5 C#: Must I use htmlEncode for login/register forms
Dear allA quick question.I've been reading around a bit on the subject of cross scripting attacks to secure my website.Can someone please confirm if it is necessary to use htmlEncode for the username...
View Articlehow to config window Active Directory authentication by loading home page...
I am using sql server 2008r2 and IIS 7.5. i am building a website to enable Windows Authentication within an ASP.NET Application, with “Integrated Windows Authentication” . But the problem is when i...
View ArticleJust Login and Log off base on Identity 2 or any Claims-based identity
Hi dear ,I have an WebApplication base on ASP.Net MVC 5 .My database was created in sqlserver( i use database first ) so for authentication i dont need to create new tables because i have my tables.I...
View ArticleAccess is denied to logon page
Hi all,I hope you can help me with the problem I have described below. I can't find out what I'm doing wrong. I'm trying to use very basic form authentication in an ASP.NET webforms application, but my...
View ArticleHow do I specify the user who logs into my app in my custom principal
During my personal study online. I was able to learn how to do a custom principal. Now I have been learning how to use a Authorize attribute. I have different kinds of administrators which include...
View ArticlePDF upload
May I request some advice please.I've been asked to create a website that will allow unauthorised/unknown users to apply for an account. Prior to be being approved for an account, they are required to...
View ArticleCallbacks in CreatePerOwinContext() never called - what's wrong?
In Startup.cs I am using Lambdas to create an instance of my UserManager class:app.CreatePerOwinContext(() => new IdentityContext("AuthDatabase"));...
View ArticleCoding ASP.NET 4.5 Template to Use Email Confirmation and Passwird Reset...
Thanks for reading. My usual preamble... I am trying to develop a web application using asp.net 4.5. I'm running into problems because I am not familiar with the technology and much of the...
View ArticleQuestion on Encrypting a message using Asymmetric keys
Could someone please help answer a quick question on encrypting a message using Asymmetric keys? My question is this. I did an exercise in a book that I'm reading where I created a certificate using...
View ArticleUnderstand the token of OAuth
I am new to OAuth. I have a username and password stored in the database. If I pass them as the the parameters, I can retrieve the corresponding values and make a comparative.But how about OAuth token....
View ArticleGetting 800a0046 error on IIS? on Windows 8.1
We have an in-house built COM object (not really needed any longer, but I don't want to re-write the code that uses it: classic ASP pages) that is hosted in Component Services running as a particular...
View ArticleIntegrating Identity Server 3 Openid Connect with CMS applications like...
I want to add Identity Server 3 v.2 to my DNN (Dotnetnuke) CMS portal so that I can have both external clients (native mobile, javascript SPA, native destkop) my DNN Web application, access WebAPI...
View ArticleFormsAuthentication migrate to Identity 2.0
Hi ,I ' m newbie on owin and identity . Previously, i use IIS pipeline + FormsAuthentication + EF for my project. I already create module and all Function for Register,confirm,Login... and more..Now i...
View ArticleAdding to User Properties Using DB First asp.net webforms
I am currnelty using form tickets to save my user session but i need to pass extra user data so i can access at code time like User. UserData userData = new UserData { fullName = _loginUser.firstName,...
View Article