caspol .net 4
I have a web application that was compiled against .NET 2.0 and is now being hosted on a remote server (www.mysite.com) On my Windows XP machine I ran the caspol -machine ... -addgroup ... -url...
View ArticleHelp, I just can't create asp membership database anymore!!!
Hi guys,I think I'm going to go mad before long unless someone can help me. I've been trying to sort this out for days now by reasearching the internet but to no avail thus far.At the moment I have a...
View ArticleError in membership.....
I have code like this:[Authorize] [InitializeSimpleMembership] public class AccountController : ControllerThen I have error in the line:// Ensure ASP.NET Simple Membership is initialized only once per...
View ArticleThe server is unavailable. at...
Hi All, I am getting the following error once in a while (not always).I researched the server log no luck,I tried producing it by myself no luck.I would pleased if some has any clue.This is heappning...
View ArticleCasting string into Membership
Hi, I am trying to cast a string into a Membership object but apparently it throws an error:Unable to cast object of type 'System.String' to type 'System.Web.Security.MembershipUser'.Reason why I want...
View Articleexecute sql query from asp.net with authenticated user permisions
In web.config authentication is set to Windows, impersonate set to true. When I want to execute some select sql query from form I cant, but when I impersonate my user in web.config it works. How can I...
View ArticleSingle SignOn In Asp.net
Hi,I am working ASP.NET application(3 Tier). my client requirement is, My application should open with the Window credential(Active Directory).Can anyone please guide me how to proceed , i mean. When...
View ArticleVery Simple Authentication
Hey all,I've been searching for a simple example of authentication using MVC 4. Is there some sort of property in the runtime that I can use to see if the current user is "logged in" / "authenticated"...
View ArticleHow to write a console application that signs file with digital signature
I can't find the code as stated in this article.http://msdn.microsoft.com/en-us/library/ms974604.aspx
View Articlesaving password in unreadable form in database via asp.net
what is the best way to store my password in unreadable form in database(Sql server 2008 r2).and also want to retrieve i.e. matching it while logging in.
View ArticleMigrating from username/passords 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 ArticleSecurity of asp.net wizard
let's say have user info retrieval applicationstep 1 the user enters his otpstep2 personal info is displayedcan i say that wizard controls are safe , the user can't go to step2, when I disable the...
View ArticleMembership Require Question and Answer
Is there anyway to require the user submit a password question and answer duringuser creation, but to exclude these fields from the reset password form?I want to gather password questions and answer,...
View ArticleRE: Generating a digital signature using smartcard + some technology (capicom)
I am developing an asp net mvc 4 application that enables users to sign PDF using a smartcard.Smartcard private key is store in the hardware and there is no way to export a file with the private key...
View ArticleLogin Control: Cancel and Display Failure Text
What's the syntax to cause a login control to fail loggin in and then display the failuretext?The code below works - but I cannot get the failure text to show. I have to setup a separate label to...
View ArticleASP.NET sql server setup wizard(about the default database named aspnetdb.mdf)
after i runing aspnet_regsql.exe and passing some wizards i can able to open aspnetdb.mdf database by connecting it using server explorer in VS2010 and also i see all the tables and attributes for...
View ArticleWeb API App inside of ASP.Net APP, want to share authentication
I have a Web API app which is inside of another ASP.net app. The parent app is using custom authentication. I'm used to working with either Windows or Forms authentication and am not sure where to look...
View ArticleOAuth Facebook MVC4 error
Hi Everyone!I decided tonight I would attempt, for the first time, to use OAuth with a website -- following this tutorial -- http://www.asp.net/mvc/tutorials/mvc-4/using-oauth-providers-with-mvcTo be...
View ArticleRecommended approach for Custom Membership implementation in MVC 4?
I'm trying to to figure out the best approach to implement a completely custom membership system in MVC. Before I go any further I should state that I do not want to extend or derive from the existing...
View Articlewith out register
Hi,i have a simple e-commerce website. i want to give fast way checkout without regiester or singin account.but user should have to enter email account.please send any links or ideas on similar...
View Article