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

Can't Get Identity to Work

I'm trying to learn Identity and am frankly about to throw in the towel.  I've read many articles and posted a few times to this forum, but can't get Identity to work properly.  I created a very basic...

View Article


login attempts

im a newbie in asp.net  can someone please help me correct my code for this to work im using vs community 2017 and ms access can someone please help meImports System.Data.OleDb Public Class Login...

View Article


Switching roles saving to my default database

Hi I'm upgrading existing web application. I'm on the way to add roles to application. Application is now efficiently using them in local, but I discovered that roles are not saved in my database in...

View Article

Membership.GetUser() always returns null

I have been trying to implement many of the new Membership features in 2.0, and I can't seem to get Membership.GetUser() to return anything but null. I have added a Login control to the page, and...

View Article

How to set specific user as current logged in user?

Hi,I am new to asp.net membership security. I have multiple project in same solution. I have created one new ASP.Net Web API project. This project is using other project classes.In that classes, they...

View Article


Help: ClaimsIdentity namespace or assembly cannot be found

I created an external Google login option on ASP.net web form site. I found when user first time login this way they will be asked for giving an Alias. Then I found the mdf in App_Data is storing log...

View Article

Identity password expiry, what is it and how can we change

We are using Microsoft Identity sign on and security to control access to an azure hosted asp.net application.1. We would like to know if and how password expiry is handled. Specifically:   (a) what is...

View Article

Will Idendity Ever Support the full Options of the Login Control out of the box

Will Identity Ever Support the full Options of the Login Control out of the box?

View Article


Restricting anonymous access to login page not working

Hello. I am using ASP.NET 2.0 on Windows Server 2008 and IIS 7. I have a website project which consists of two pages: Default.aspx and login.aspx. I have coded the login form on login.aspx using Forms...

View Article


ASP.NET Identity requires dbo permission?

I have an existing application database.  I created an ASP.NET MVC5 project in VS2013 and ran the project to create the ASP.NET Identity tables in the auto-configured localdb database.  I synchronized...

View Article

ASP.NET Membership causing issue and adding multiple similar usernames but...

I have an ASP.NET Website in which I am facing login issue with user name being added as multiple but with different Application ID, but user names are same. Since for this application many developers...

View Article

Issue with web app and IIS

I have authentication mode="Windows" in web.config. In local IIS, the apps' authentication is set to "Windows Authentication" and the rest is disabled. I get an errorHTTP Error 404.15 - Not FoundThe...

View Article

Fine-grained authorization control using Claims?

So far I have been working with Roles for authorization but that is not very versatile when you want to dynamically assign permissions without having to define or update roles and have to recompile...

View Article


Without permission to write with authentication Forms

Hello,I've the following issue: in the hosting where my ASP.NET 4 application is deployed, I added a change which forced us to change the IIS mode from classic to integrated. This change produced that...

View Article

How to use custom Roles using Windows Authentication in MVC Application

I am developing an internal MVC Application using Windows Authentication (WA). Authenticating users using WA is straight forward, however; with respect to user Roles, I have the following...

View Article


SSO using separate Webforms application and MVC application on the same box.

I am attempting to accomplish single sign-on using two separate applications (WebForms, MVC) that reside on the same box. One of the sites is on a separate subdomain (xxx.abc.com/abc.com).I followed...

View Article

API Security

Hi,I have a web application with just html and jquery (no asp.net nor any other framework)Now I need to make an API to serve the webApplication and also the native phone Apps that will be built. What...

View Article


ASP.NET Identity Two-Factor Authentication: how long does the remember...

We are adding Two-Factor authentication in our app using ASP.NETIdentity Framework, and want to know how long the remember browser cookie lasts? I have read some places that say 2 weeks and other say...

View Article

FormsAuthenticationTicket Error

I get below error while trying to open page, but error disappears once i clear my browser data. The error always occur when am already login and tries to lunch another application.if (authCookie !=...

View Article

ASP.NET Web application did not enforce a content security policy

HiI Have a Security Issue on my Web Application.My ASP.NET Web application did not enforce a content security policy. This could potentially allow an attacker to insert malicious, executable content...

View Article
Browsing all 4737 articles
Browse latest View live


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