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

reset users security question and answer

I am building an admin tool for my main site and would like to build the facility to reset the users security question and answer for a user if they have forgotten the answer and verified there account...

View Article


Creating Secured DLL files while hosting the application

Dear All,I want to make all my dll files secured while hosting the application.Secured in such a way that it cant be decoded using a .Net ReflectorAny Ideas ?

View Article


mvc5 - where are user login details being stored ?

Ive just started to use visual studio 2015 and mvc5 and have created the default startup project with individual accounts.  There is also an asscociated database (SQL Server 2014) that im using to test...

View Article

MVC application and frontend using same authenticion

Hi all am am working on a frontend backend application. Where the frontend is a asp.net website and for the backend i used a asp.net MVC template. With the WEBAPI In it.I would like use the...

View Article

C# WebFormsApp: Showing FirstName, LastName of the authenticated user instead...

This Post from Claudio7810 i gave me the right direction, thank you! I have used the very good example"Wingtip Toys" from Erik Reitan.In my Site.Master.aspx  i gave the form an id:...

View Article


Web api windows authentication custom role provider not working?

I added the following steps in a working web api project (VS 2015), The code can be viewed in...

View Article

ASP.NET login works fine locally, fails on remote host

I'm using VS2013 Premium with a complex "single page" web site project.   I'm publishing to file system and uploading with FTP to a remote host.  I'm Just starting to test deployment.The password based...

View Article

Logout

Even after logout i can able to access back button . Kindly guide me.I am using the below code for logout pageSession.Abandon();FormsAuthentication.SignOut();

View Article


How to do ASP.NET Windows authentication using AD group and authorization...

We have web site which is configured for windows authentication. Only users in certain active directory group are allowed to access this web site. These authenticated users are also belongs to certain...

View Article


Configure role provider programmatically?

Is it possible to add/configure role provide after application starts, like in global.asax application start event?

View Article

ADFS between ASP.NET and JSP website

We have a requirement to provide single sign on between an ASP.NET MVC web app which uses a form-based authentication, with a JSP website on Weblogic app server.Could someone please explain the...

View Article

_SignInManager error - Object reference not set to an instance of an object.

Hi All,I'm sending a user a link that works one time that allows them to log into the site.  Once they click the link, and I validate it's good, I use the following code:var account = new...

View Article

Asp.net Identity & recover password

Hi.. I am asking this question again because I could not find a solution. I created a new Web Forms "website" not a "project". I want to make the following: 1. Editing Register.aspx and...

View Article


Login from Mobile Device to .Net

Hi,Are there any methods can be used to login from Mobile Device to .NET? I would like to do the encryption before submit the password from mobile to web api.I find that is a method...

View Article

Authentication no working as per define.

I have a two sites with different port with same IP like 202.135.45.45:161 , 202.135.45.45:141when i login  202.135.45.45:161 that link at the same time m open that link 202.135.45.45:141 then UserName...

View Article


Use ASP.Net Identity Without entity framework

Hi,I have a three layer solution (Data Access, Business, and UI Projects) and I want to use ASP.Net Identity for authentication. I do search for a week and I`ve got nothing, all the articles I found...

View Article

ASP.NET Identity cookie authentication fails for sub-domain authentication

We're using ASP.NET Identity but have make a very small extension to the cookie authenticator to enable sub-domain authentication i.e. we set the auth cookie to bear a hostname like.domain.com (note...

View Article


How do I get userID of a logged in user?

Hi please I don't know How to get the UserID of a loggedin user and use it to insert record. If I user this code below it gets a wrong Id: if(page.user.Identity.Authenticated) I can get username of a...

View Article

Membership.GetUser() always returning a User with Username and Email as \0

I have this below code which is acting pretty weird which I have never encountered beforevar user = Membership.GetUser(); if (user == null || user.UserName == "\0" || user.Email == "\0") {...

View Article

Login for a Hosted Web Site

I have a hosted ASP.NET 4.0 website that I want to add Member Login for - no SSL, but it will be a great tool for me to learn this technology on.I'm trying to follow this guide, but it leaves me with...

View Article
Browsing all 4737 articles
Browse latest View live


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