How to disable jsdebug from asmx web service?
I have an asmx web service, I want to disable jsdebug but I am unable to. I tried putting <compilation debug="false" targetFramework="4.0"> in web.confio but it is still returning debug...
View ArticleHow to reset password in membership asp.net
Hi,I am trying to reset the password but not able to do it.Placing in page_loadMembershipUser usr = Membership.GetUser(username); string resetPwd = usr.ResetPassword(); usr.ChangePassword(resetPwd,...
View ArticleADFS - On premises SSO Implementation
Hello,I have an Asp.Net application that communicate with ADFS(on some other Windows Server) for authentication purpose. Currently, when we navigate to application, it redirects to ADFS SSO...
View ArticlevNext: Web API project doesn't come with ASP.NET Identity - how can I enable...
I'd like to use ASP.NET Identity with the vNext Web API template. But there is no Authentication option when trying to create a vNext Web API project.What do I need to do to enable this?Your help is...
View ArticleWebMail: Authentication required
Hello,I want to send emails via my homepage. It worked for several years, but some months ago, some settings were changed (perhaps by WEB.DE). Since then the following error message occurs:"Für den...
View ArticleUsing vs2015: As an administrator of a site I want to be able to create...
I can't find anything straightforward that will allow me to define Roles then as I create users to assign a role.I've tried to update all my sites to vs2015 but the lack of Web Admin Tool is driving...
View ArticleHow to get Client IP address form UserNameSecurityTokenHandler?
Hi,I'm using custom UserNameSecurityTokenHandler for UserNameSecurityToken validation in WCF.Here I make token validation, and if token is valid that I return some claim, one of claim should be client...
View ArticleSingle sign on to ADFS2 federated app from an app secured by forms...
Hi,I have a web app, which is protected by forms authentication. When the user enters the credentials, I will collect the credentials and encrypt them in cookies.On clicking a link from my app, I need...
View ArticleRetrieve the windows login user using Forms authentication
I'm working on an ASP.NET application running on our intranet. We are using forms authentication, however the usernames set up will be the same as the Active Directory usernames. I'm trying to find a...
View ArticleForms authentiction - user authenticated when they add a space to the end of...
Hi,I have a website locally that uses Forms Authentication and when I attempt to login and add a space to the start or end of the password I am not authenticated as I would expect. However the same...
View ArticleIdentity - Web Example - Starting fresh
I don't know how to explain the full compliment of problems I am facing so I'll simply dump information.I am looking for a complete ASP.NET Identity (formerly Membership) VB.NET solution with SQL...
View ArticleForms authentication causing new page every time
I wasn't sure how to title this. What is happening is I am trying to use the .NET Cas client (https://wiki.jasig.org/display/casc/.net+cas+client) to do authentication to a secured directory on my...
View ArticleNeed help with architecture on a WebForms (Identity 2.0) applications.
I’m working on an ASP.NET WebForms (Identity 2.0) project, and need some direction from someone who better understands how to “properly” use the Identity framework. I don’t fully understand the...
View ArticleCopy file using service account
Hi All,I have a requirement to copy a file to a share location using service account because only service account has access to that folder. Is there is any way to copy the file using service account?...
View ArticleKatana: Where can I find interface for TokenEndpoint?
Where can I find the interface description of the Katana OAuthAuthorizationServerOptions.TokenEndpointPath endpoint?I can't find a corresponding action in Web API controllers. What's responding to the...
View ArticleAps.net Identity 2.0 , Managing Roles
Hi,I am creating a web form project (Not MVC) where i need to add manage roles pages and roles should be assigned to users. My task is to create roles , view roles in grid, edit roles, delete roles and...
View ArticleHtml sanitizer (protection against XSS)
Hi,What do you recommend for html sanitation?I need some solution that removes potentially malicious code but keeps html tags. The perfect solution for me would be one with editable list of allowed...
View ArticleWhat is necessary in StartUp.Auth.cs to opt-out from having the user agree to...
According to this article, Facebook and Microsoft Account ask the user for revealing user profile data to a web application:I only want the user to authenticate. I do not want him/her to reveal...
View ArticleIdentity in separate webforms and webapi projects
Hello! I was hoping someone could just give me an idea of what concept I want to look into in order to accomplish something.I have an ASP.net webforms application where I have implemented identity....
View ArticleBack end Security Architecture
We are grappling with how best to architect our back end servers for best security. I think one of best practices is to separate your web server/s from your internal network (in their own DMZ) but...
View Article