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

Membership.ValidateUser asp.net 4.5

I've a webapp (webform) compiled in .NET 3.5 that use thi code in login:Membership.ValidateUser(txtUserName.Text, txtPassword.Text)If modify .NET 3.5 with 4.0 or 4.5 Membership.ValidateUser not...

View Article


encrypt password and save in database

how to encrypt inputed password and save in sql server 2008 for vb ??

View Article


Design question - login, user prefs, DB, SimpleMembership, Universal...

Hi,    Assuming ASP.NET 4.5, I'm interested in hearing suggestions / recommendations on how to implement one scenario using "the latest stuff". I was reading this about SimpleMembership and Universal...

View Article

to Cookie or not to Cookie?

Hi,I want to ask should I use cookies with FormAuthentication in my ASP.NET or it's better to store it in Sessions?what's your advise?

View Article

Login

Can someone link me to a walkthrough on how to make user authentication in an empty website (C# if it means anything)? We did this in school and I had a document describing everything, using a wizard...

View Article


how to fix the Microsoft.IdentifyServer error in web.config?

hi i have a login page in asp.net. and in the web.config i have the following two lines<compilation defaultLanguage="c#" targetFramework="4.0"><assemblies><add...

View Article

Security Hole in Application

I have a forms-based, dot.net website in the DMZ hitting a MSSQL server behind the firewall. Every so often the content on one of the pages gets replaced with something like the...

View Article

Allow some users to view the a HYPERLINKED IMAGE

Hi,I have an aspx page with 3 images, the 1st and 2nd can be viewed by all, for the 3rd one, i need only a group of people to view the image,.how do I go about doing it, this can be done in MOSS, can I...

View Article


Problem with code execution in production.

Hi ;I have an web application which display images on the main page and this application is located in a DMZ.The code functions perfectly in a development environment but ignores the image in...

View Article


Migrating from username/passwords to client certificates

The context: I have a system that consists of a mix of ASP.NET web applications, ASMX web services, WCF services and a rich client. Servers run Windows Server 2008 R2 and applications are written using...

View Article

No security for my Web Page..Can view the session ID from the URL

My issue is:- After logging in thru login1.aspx as localhost,i go to HRapprove.aspx.but if i copy the URL of HRapprove.aspx and paste it in another browser,i can access the page.Actually my code is...

View Article

Remeber me Next time check box

I have the standard (asp.net 2.0) logon box with a remember me next time check box.Question: where and how do I set the time frame for how long this 'remember me' lasts between logons??Please remind...

View Article

How to validate FormsAuthentication.Authenticate?

Hi,I want to ask two questions please.Does FormsAuthentication.Authenticate uses Cookies as must or optional only when setting SetAuthCookie?If I want ti use FormsAuthentication.Authenticate without...

View Article


how to hide complete url form the user?

hi all m developing a project in asp.net and i came accross with the problem that is i want to hide the url from the user.currently its like this onehttp://localhost:15572/project/pages/index.aspxand i...

View Article

how to set EnableEventValidation = false from userControl DotNetNuke

I am using DotNetNuke : tying to open custom confirmation message on "btnOk_Clik" i am getting following error A critical error has occurred.Invalid postback or callback argument. Event validation is...

View Article


New password policy is not being enforced

Hi all,I found my current ASP.Net password policy to be inadequate. I have now changed the policy in the web.config to include more characters and more non-alphanumeric characters but when I change my...

View Article

Users not created

I followed this walkthroughhttp://revenmerchantservices.com/page/ASpnet-20-step-by-step-Membership-Provider-.aspxand for some reason the part where I want to create a user programatically does not...

View Article


How to authenticate users in MVC app when storing credentials in SQL Server

At work we use the Intranet template when making MVC web apps, it ties into AD and all is great.  I am now doing a side project that will be public facing, so no AD.  I am stoiring credentials in SQL...

View Article

Custom Registration Options

Hello all. I am using WebForms, ASP 4.5 and VB.NET (Visual Studio 2012) for a project I am working on. Here's the gist... I need to simply add some fields to the registration form. (No MVC yet.......

View Article

Encrypted web.config section: unable to revoke access to an encryption key

I've encrypted connection Strings section in web.config as described in the article below:Walkthrough: Encrypting Configuration Information Using Protected...

View Article
Browsing all 4737 articles
Browse latest View live