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

How to get the UserID and Email while SSO Authentication?

Hi,I have two websites www.site1.com and www.site2.com. I implemented SSO by setting the same Machine key for the both websites. Everything is OK and works fine, But I cannot get the UserID and Email...

View Article


Adding Facebook login to existing project in MVC 5.1

There is ample material available on  how to build a new project with external logins like Facebook, Google but how do I create the same for anexisting project. I did not choose the required options...

View Article


A better way to get AD details from User.Identity.Name

I have an ASP.NET MVC app that uses Windows Integrated Authentication (an intranet app). This works great, and the user get's SSO into the application.Currently, so I can get extra user information...

View Article

HttpContext.Current.User.Identity.Name returning different values for IE9 and...

I am getting different values for HttpContext.Current.User.Identity.Name for IE9 and Firefox 31.4  for ASP.net4.5.  This is on the server with IIS7.So, with Firefox the domain name is being appended...

View Article

Our ASP.NET/SQL Server 2008 is being hacked

We're running an ASP.NET website with SQL Server 2008.At least once a week, someone hacks our database. The hit all the tables with any form of text field and append html to it. This causes all the...

View Article


Asp.Net Identity + WCF service

Hi All,I am trying to implement Asp.net Identity in my application.  In my application all the database activity is performing from wcf service level.  I have a doubt that whether I can implement...

View Article

Custom User Service for Tehinktecture Identity Server

I am trying to create a custom user service for the Identity server. My user store will be multiple Active Directories. I have implemented Local Login.public Task<AuthenticateResult>...

View Article

Asp.Net Identity WTF

Hello,Why does the UserName and Email have the same value on registration??? In this casewhy do you need UserName column since you have already Email column?var manager =...

View Article


Programatically Logout current user and login a different user

Is it possible to change users programmatically from a web service?  I am trying to do this:FormsAuthentication.SignOut() FormsAuthentication.SetAuthCookie(varNewUsername, False) But when I check...

View Article


CreateUserWizard error messages are not in english.

Hi,When I enter a faulty password in my CreateUserWizard I get the following message: Minsta längd för lösenord: 7. Specialtecken (t.ex. skiljetecken) som krävs: 0.Translation: "Minimum length for...

View Article

Windows authentication works only with IP

Windows authentication only works with IP though I tried with Bindings and updated hosts file.Any help would be appreciated.

View Article

I need to create Access rule using membership in asp.net c#

Hi, I want to implement Access Rules by using ASP.NET Role Providers in my Application. How do i do this? There nothing available for defining the Access Rules. I dont know where to start.im new to...

View Article

System.Security.SecurityException

Hi,I am using reportviewer in my asp.net application for print billing report. In Local when I am clicking print button its shows the report viewer.   When I upload my files to server and then while...

View Article


AntiForgeryToken - have to close the browser each time to make it work

Hi All,I working with implementing XSRF protection for our ASP.Net MVC project. I added @Html.AntiForgeryToken() in my razor form (in the layout page) to have the AF token generated. I'm passing this...

View Article

Alter HttpContext.Current.User.Identity.Name from the client

I'm reviewing some code for a colleague and want to be sure about this before I raise it (office politics rubbish...)Would it be possible for someone with malicious intent to alter  the value of...

View Article


Need help setting up asp PasswordRecovery

I'm using Visual Web Developer 2010 Express with SQL Server 2008 Express, VB, asp.net version 4.0I've setup a database and program for ECAD; no proprietary data so the security does not need to be...

View Article

IIS not to accept the custom session Ids

Hi , Does Adding Antiforgerytoken protect against the session hijacking ? if not , what would I should do to avoid session hijacking ?Thank you

View Article


Authentication with SAML 2

Hello,  I need to authenticate my web application with SAML 2.0, we have a SSO Architecture, and  I have external Identity Provider.  Please help me.  Thanks in advance. Regards

View Article

Not getting value in textchanged event of autofill textbox (jquery) with...

Not getting value in textchanged event of autofill textbox (jquery) with autopostback = trueis there any possible way to get value in textchanged event with autopostback = true

View Article

How to check email address domain part using RegEx?

I want to check the email address domain part using regular expression but I can't find any RegEx for checking the domain part. Can anyone help me please.

View Article
Browsing all 4737 articles
Browse latest View live


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