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

Textbox to SecureString?

Hello,I'm creating a replacement for Microsoft's iisadmpwd password change facility which allows our users to change their domain passwords when not on a domain joined PC.I have 5 textboxes:Domain User...

View Article


How to access network id in asp.net 4.0

I have created a test web application in .Net framework 4.0 with Default.aspx page. I just want o access network id of user so I wrote following code in default.aspx code behind but getting blank value...

View Article


Membership database routines take a long time

I ran SQL profiler on my database as I use the website that interacts with it, and the resulting profile says that executing dbo.aspnet_Membership_GetUserByName takes 3216548 microseconds (over 3...

View Article

Forgot Password

I need a forgot password asp.net web form page.  I'm using asp.net identity.Thanks

View Article

C# code added to my page via hack - how is this possible?

Hello,On the index.aspx page of my site, an entire block of well-formatted code has somehow been added. How is this possible? The site is build using ASP.NET 4.0 but has no database. The index page...

View Article


ASP.NET application impersonate user with netonly to access network share...

We have an ASP.NET application running on Server A which is on its own domain, in the web.config we are impersonating a user. Now this application needs to access a folder on Server B which is on a...

View Article

can I use the same applicationID both in my local practice database and...

I have a website that works with a remote database.  I made a copy of the remote database, and put it on my local PC, and I can run my website on my local PC with Visual Studio so that it uses either...

View Article

How to do the URL encryption/decryption C#?

Hi All,I want to do the URL encryption across the application. Please provide some common method to implement the URL encryption/Decryption in C#. How to generate the encryption key randomly for...

View Article


Storing multiple physical addresses against Asp.net Identity

I had extended the Identity provider with physical (postal) address etc. However I'd like to actually store multiple physical addresses for each user.In my DB I have a table called AccountAddress :ID...

View Article


Error While regenerating Identity.

Hi, I need some input. I am testing Identity authentication. I needed a way to get the expiration of the identity authentication cookie so i borrowed code from this forum:  I'm now getting an error in...

View Article

How to make Id attribute of IdentityUser class as auto-incremented primary key?

I have changed the type of primary key of IdentityUser class from string to int following this.Now when I go to insert data in User table, it wants data for Id field. But I want that the data in Id...

View Article

Best way to prevent XSS Forgery when using ASP.net

I am working with a classic Asp.net website which is about 5 years old. I upgraded the .NET version of the website to .NET 4.5.A security scan has revealed that the site is vulberable to XSS Forgery...

View Article

using identity and owin, how can I change a password without knowing the...

I see there is a "reset password" command, and even one that allows you to change it if you know it. But how can I change it if I don't know it?Thanks.

View Article


Preventing or Securing Password Textbox from Capturing

Hello I have a system which is using LDAP for authentication, I don't store their passwords in my db and I need a way that no one later can add simple line to store users password in a file or...

View Article

How do you make APIs secure using IAM

Hello Everybody,I have developed Web APIs which need to be secured. It means only authenticated applications are able to consume these APIs. This APIs are used in the background so the application...

View Article


Forms Authentication and SSO

Hi,I have an existing asp.net application. We are trying to build a SSO functionality into it where our client would SSO into our application using a link on their side.Our website uses forms...

View Article

Single Sign On add Kerberos or some other way to also authenticate on our...

We have a few applications that we have converted to SSO with our own IDP now we want to add the ability for users on the domain be authenticated by out AD.Looked into Kerberos but want to consider any...

View Article


Logout From Yahoo after using OAuth login (MVC 5)

Hi,I am developing an MVC application where people can download Yahoo, MSN and Google contacts.So, on the contacts download page users have to login using their normal Yahoo, MSN or Google account...

View Article

Visual Studio 2015 and mysql membership

Hi FolksI am using VS 2015 Community and MySql WebSite Configuration. I follow this wizard and run the Project.I can see it create the correct tables (my_aspnet_users, my_aspnet_roles ,,,) but when I...

View Article

Tell me when people go for custom authentication

Please tell few scenario when people go for custom authentication or custom form authentication.

View Article
Browsing all 4737 articles
Browse latest View live


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