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 Articleencrypt password and save in database
how to encrypt inputed password and save in sql server 2008 for vb ??
View ArticleDesign 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 Articleto 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 ArticleLogin
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 Articlehow 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 ArticleSecurity 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 ArticleAllow 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 ArticleProblem 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 ArticleMigrating 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 ArticleNo 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 ArticleRemeber 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 ArticleHow 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 Articlehow 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 Articlehow 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 ArticleNew 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 ArticleUsers 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 ArticleHow 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 ArticleCustom 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 ArticleEncrypted 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