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

ASP.NET Identity, Confirming emails "purpose parameter", passing wrong value

I have created my own ASP.NET UserStore and TokenStore and having issues with email confirmation. In the token store there is a method called validate async as seen below. public Task<bool>...

View Article


ASP.Net Web API make HTTPS Mandatory

Is there any programmatic way that where I can mandate the HTTPS in my ASP.Net Web API? I need to perform this for all HTTP methods in my Web API.Can we mandate HTTPS to specific HTTP messages as well...

View Article


i want encrypt mail password

hey everyone i'm using this method for contact us as u see i'm using my email on this method but problem is password here everyone can see it private void SendEMail(string emailid, string subject,...

View Article

Learning the identity framework in MVC 5

I have been reviewing the videos and documentation at https://www.asp.net/identity and while the code is easy to understand, I find it lacking as far as providing a solid understanding. This topic does...

View Article

Security context of an application

Hi What is the security context of an application?

View Article


Two kinds of accounts

I'm new to Asp.net and trying to consider whether to use it in my project or not. I've played a little with Asp.net Core and MVC. I've looked into the authentication and authorization system and it...

View Article

Display / Hide Div's Based on Admin Account Logged In

Hi,I need to create admin login functionality for a website.On the admin page, there are a number of different sections / pages which admin can update.I need to have one admin account which has access...

View Article

Assign Roles to Users and Control Displayed Content Based on Role

Hi,<br><br> I am trying to implement roles in an ASP.NET Web Forms, using C# and SQL server.<br><br> I've seen various online tutorials, but they are for earlier versions of...

View Article


How to “Sign in as Different User” like in Microsoft SharePoint with Windows...

I have an intranet project written in MVC 5 which uses Windows Authentication to authorize and authenticate users.I need to add a 'Login as another user' functionality. So please guide me about this......

View Article


How to use '+' or '&' characters in URL requests?

Hi,is there a way how to put characters like '+' or '&' into HTTP GET request without allowing double encoding? What is the best practice?Thanks, Vlasto

View Article

Create New logins - Issues

I was unsure which forum to use for this.I created a new web forms projectI copied my Sql Database to use in the new projectI create new users, but they don't register in the database under AspNetUsers...

View Article

Emails going to SPAM box

Hi All,I am sending bulk emails (100K) weekly to clients. Now all emails going to SPAM/Junk box .  Checked with thirparty tools and spf ok and no blacklist.

View Article

ASP.net Identity

Hi All,I've been searching and searching, and I would like an opinion on whether this is the right way to go about things.I am starting a large MVC project. I want to use ASP.net Identity framework...

View Article


how can i redirect https to http for particular folder with some aspx page

HiRecently i added http to https redirect rule but now i want to exclude one folder with couple of pages. how can change my rule from IIS .Below is my rules from IIS.<rule name="Redirect to HTTP"...

View Article

Session variable not carry over to another page when deploying application on...

Hi,I have developed asp.net web application using VB and have a session variable for the current user in the home page. so that variable value could carry over any pages and should be able to select...

View Article


Filtered Gridview Paging Postback

Hi Everyone,I have been making myself crazy over this one and can't find anything on the web about it.  I have a gridview that uses paging. The Gridview is bound to SqlDataSource.  I use filter...

View Article

Event 1315 ASP.NET 4.0 "Membership credential verification failed" using LDAP...

Hello,I have an VB application in IIS 7.5 Windows SQL Server 2008 R2 that authenticates users using AD. This has been working fine until recently. I keep seeing this messages in the Event Viewer. I...

View Article


The name 'txtbxUserName' does not exist in the current context

I have a web forms app that will not run, and returns the above error. The thing is that the textbox does exist, and has the ID='txtbxUserName'.Login.aspx<%@ Page Language="C#"...

View Article

Default membership provider username length

So i am maintaining a legacy application that requires the use of default membership providerSystem.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=2.0.0.0 etc etcI've been...

View Article

How to customize the identity Two Factor cookie name

How to customize the identity Two Factor cookie namethe default is: [.AspNet.TwoFactorCookie]

View Article
Browsing all 4737 articles
Browse latest View live


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