Get Current Windows Logged In User Name (User ID only)
Hello Guys and Gurus. I really need some help on my situation. I'm working on a machine that is member of a domain. I'm creating a login page that has forms authentication mode. Is there any way to...
View Articlesecurity - http - https - secure login - web application
<div class="body">Good morning,I've just read this article:http://www.c-sharpcorner.com/uploadfile/abhikumarvatsa/simple-login-project-in-Asp-Net/but, as you can see, in this project username and...
View ArticleSession User Problem
Hello,I'm trying to solve the following problembut I can't:The issue is prevent "broken authentication and session management" security problem. In logout I put this...
View ArticleClaims Based Application Not redirecting to STS
I have setup my Claims Based application along with my STS. I have setup the STS as the token issuer in the Powershell. I can view the STS and everything in the browser, but when I try to go to the...
View ArticleHow do I retrieve user information from cookie?
Hi,I'm using Facebook authentication in my new MVC 5 app. I see that in Startup.Auth.cs, there's a line that tells the app to store the authenticated user information in a cookie.I want to better...
View ArticleI want to block libwww-perl
I scanned my webserver and I got this result:Your server appears to allow access from User-agent Libwww-perl. Botnet scripts that automatically look for vulnerabilities in your software are sometimes...
View ArticleDisplay Validation Summary Errors in different location..
HelloI need display Validation Summary Error mesages for each usercontrol seperately.UserName is required..textbox usernamePassword is required textbox password.submitis it possible?Thanks
View ArticleInitial sneek in admin with aspnet_regsql.exe
Ok so if you run aspnet_regsql.exe you get a virgin asp.net membership database. However, how do you get that first "admin" user into the database. Its a chicken and the egg problem. You have no...
View ArticleASP.NET Identity V2 - Discriminator Column
Hello, I'm starting with ASP.NET Identity V2 and am trying to create 2 seperate projects (One is a ASP.NET MVC project and a second is a Web API project) and would like a user to be able to use either...
View ArticleUsing authenticate in a web application
I was reviewing an application where the programmer doesn't use Authentication at all. All he does is just check on the MasterPage if a specific Session value (e.g. UserID) is null. If it is then he...
View ArticleCustom Password Reset
I am looking for a way to reset my users passwords efficiently.Select UserName from DropDown list Push button to reset OnClick I would like to:Unlock the account if it is locked Email a auto generated...
View ArticleNo automatic redirection to login page when session ends
I had developed 2 ASP.NET web forms sites using VS2010 which includes the login control so users are able to validate credentials in order to get access to the system. As you already know, there is a...
View Articlehelp with MVC active directory account unlock
I'm attempting to build a solution that allows a user name to be passed in and unlocks the user account. It appears to work properly, however the account never unlocks. If I could specify a domain...
View ArticleNeed help On webservice
Hi,I am trying to implement webservice authentication using SOAP Header. I know how to achieve this. i have a requirement about how to provice single authentication which applied to all the methoads of...
View ArticlePassing bool type parameters from another class
Dear all,I would like to know, how to I go about passing parameters (username and password) into the following method, using a bool type method such as the one in user class. public class...
View ArticleSwitching between HTTPS/HTTP and Man in the Middle
I have some specific security questions about the practice of switching between HTTPS and HTTP in single page apps.First, after watching several videos, I was amazed at how quickly a smart hacker can...
View ArticleWhy payment gateway service can only get access from my web application...
hello...Sorry , May be this is not write forum ...But I want to know about how do thay do this ?In my site I have CCAvenu payment service .... when i was tring to access it from VS it was not working...
View ArticleHow do I handle "potentially dangerous request.form value"
I let the user paste text into a textbox. The text could be poetry, a screenplay, a mathematical lecture, etc.The problem is that if he has a html tag in it, the page gives the error "a potentially...
View ArticleGoogle Capcha
Hello,I have been in ASP.Net for only a few months now and i have come across google Capcha but i wanted to know how to use it in my ASP.Net projects? and secondly can i use this in any commercial...
View ArticleHow do I see ASP.NET Configuration in Visual Studio 2013?
Hi,I am developing an MVC 5 project using Visual Studio 2013. I am looking for ASP.NET Configurationto manage Users and Roles.I could not find it in my VS2013.Thanks
View Article