why does impersonation result in no data
asp.net mvc 4 app using windows authentication in web.configUser.Identity.Name: myDomain\myNameHttpContext.Current.User.Identity.AuthenticationType: NegotiateUser.Identity.GetType().Name:...
View Articlecaspol .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 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 ArticleUsing OAuth 2,0 with roles and Windows Live ID
Hey guys I'm currently working on a project for my college graduation. Quick background I'm developing an app that only admins can log into, so this app has no anonymous or external user functionality...
View ArticleHow to parse a Certificate Signing Request
HiI'm planning to work a bit with x509 certificates. Can I parse X509 Certificate Signing Request directly from C#/ASP.NET or must I use a third party DLL?
View Articlewhy use membership provider in asp.net C#
I am using login control of asp.netFor security reason membership provider is useful for login controlExplain in detail
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 Articleuser created login control
for user created login control can i give role ,authorization ,authentticationgive me code for webconfig and CS file
View Articlemaking web site for marketing and selling
Hello,I want to make a web site for internet marketing and selling products with credit cards. Can anybody help me please what should I use for performing secure payment? I have never done this before....
View ArticleIs there a way I can enforce flow structure in ASP.net
let's say user has to fill in registration formthe flow is like that : page1->page2->page3user cannot go from page1 to page 3 directly, any asp.net features support this other than use session to...
View Articlehow can I "Response.Redirect" to a new webform based on members of a server...
I have an asp.net dynamic data website and I want to have a web form which will direct a user to a Wrobform based on if they work in India vs. US. I have a group set up on the server called "India"...
View ArticleMixed-mode Authentication in MVC4
I am developing a web application in MVC4 that needs to implement a Mixed Mode authentication(Forms and Windows). If a user access the website, it will check if the user is part of the domain, else it...
View ArticleMixed-mode Authentication in MVC4
I am developing a web application in MVC4 that needs to implement a Mixed Mode authentication(Forms and Windows). If a user access the website, it will check if the user is part of the domain, else it...
View ArticleMixed-mode Authentication in MVC4
I am developing a web application in MVC4 that needs to implement a Mixed Mode authentication(Forms and Windows). If a user access the website, it will check if the user is part of the domain, else it...
View ArticleError when trying to pass information to membership provider
I built a WCF service that uses a membership provide to provide authorization for my client and to manage users/roles etc. So far the authorization works great.I am trying to give my client the ability...
View ArticleHow to: Perfectly avoiding Duplicate registration by users in asp net c#
HelloIs there any way to perfectlly avoid users to register into a website twice?I already know that we can avoid dplicate username , emails but this is not my question.Example: website WWW is a forum...
View ArticleAdding an asp.net membership provider to asp.net web application that hosts a...
I am trying to figure this one out. I am using a simple WCF service that is hosted by an asp.net web application that is going to be used for authentication for a mobile client and a desktop client and...
View ArticleWriting .txt files to shared folders.............
Okay....I've about had my wits end with asp.net web security.........I have a web app that allows a user to export results in .txt fashion to a shared folder residing on the web server. Currently, 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 Articlesecurity of asp.net application & iis
Hi,I have an aspx application that when I run it from within Visual studio 2008, It runs and I can browse all the pages within the application. When I publishe the web application into a folder in the...
View Article