Roles not working correctly after deployment
Hi, as the title says I'm having trouble with the default provider model. I am trying to after the user logs in, redirect to the appropiate page based on his/her role, the problem is it not redirecting...
View ArticleSystem.Security.SecurityException: Request for the permission of type...
On my website when I come to register a user (http://www.ecovidadesign.com/Register.aspx) it works on my local but when I upload it (shared hosting) it gives me the below error:Security...
View ArticleLocation element question
Can the location element be used to against a top level folder and all sub folders? In my case, have a themes folder and need to allow anonymous users to top level themes folder and all sub...
View ArticleFederatedPassiveSignIn Disable Passive Auth
I'm using a STS to authenticate my website. It works fine, but I have a problem when I try to authenticate through a AD FS. The FederatedPassiveSignIn don't requests the credentials to user and post...
View ArticleWhen i have to user Cookies and Cookiless forms authontication
When i have to user Cookies and Cookiless formds authontication and whay because i saw some times giving user cooky ticket on login and another time they not
View ArticleWrong user name in httpContext.Current.User.Identity.Name
Dear All,I'm developing web application for a couple of years now and recently I have faced very strange issue.The problem is reported by one of the users who have created new document in the...
View ArticleSecurity trimming
Hi,Currently I am writing a web application in MVC 4. I am using a generic repository pattern. It works well. So I have something like the followings,public class AddressRepository : IAddressRepository...
View ArticleMultiple ASP.NET Membership roles in the same Website
In my MVC3 application I have ASP.NET Membership roles like -Manager, System Admin and EditorI am using Windows Authentication for the website and I am adding the users in the Network to the Membership...
View ArticleHow will “windows based” authentication work in MVC web application, if users...
I have the following architecture:-· Active directory server · IIS which will host asp.net MVC · Both the Active directory and the MVC web application are inside our company...
View ArticleEncrypting the url in hyperlinkfield or in Anchar
i am trying the fllowing codes<a href='Default2.aspx?CID=<%#QueryStringModule.EncryptData(Convert.ToString(Eval("45")))%>'>Edit</a> <asp:HyperLink ID="HyperLink1"...
View ArticleWhy does the returnUrl not work when formsauthentication timeout in Chrome
HiI have problems with my Chrome-users when their session timeout. FormsAuthentication timeout works fine in Internet Explorer, but the return URL for users of Chrome is modified in this process. My...
View Articlehow to change login page only on https:// other pages on http://
how to change login page only on https:// other pages on http://where i change my code in pages ...
View Articleauthenciation in sub modules in asp.net application
Hi:I have an ASP.NET application which use the `Forms` authentication mode.And it have a sub module (which have its own web.config) , and I found that once I logined, the sub module can not recognize...
View Articlewebsite security / data protection
help needed. I've written a couple of website applications for a mate and his boss has asked "to discuss how they conform to data protection legislation.". do you know anything about this type of thing...
View ArticleImplementing Single Sign-On using SAML 1.1, x.509, LDAP in C#.net
Hi,I got a requirement from the client i.e implementing single sing on using SAML 1.1( LDAP & X.509)in .net. I searched almost entire internet but no use. I have perfect knowledge regarding SAML...
View ArticleCustom Role Provider
Hi Team,I am working on an intranet where I implemented a custom role provider to handle all security management for our applications. An example would be I have 5 different web applications that...
View ArticleAuto redirect Asp.net Page
HiHow to automatically redirect a page to session out when the session is complete in asp,netThanks in Advance
View ArticleControling what users can register from the login control
I am using the login control to restrict access to my site. How can I control what users are allowed to register? I don't want just anyone to be able to register but would like to restrict it to...
View ArticleTrouble redirecting after login
Not sure what's happening here, I've verified the login code below runs correctly but i cannot redirect to any page...it always goes back to the login page. I've run this on Chrome and Safari - same...
View ArticleCan I call a controller action from Asp.net Login control, using OnLoggedIn?
Hi,I'm working ona web app initially developed using webforms and c#; now more features being added to it using MVC, c#.Can I call a MVC COntroller Action from amn .aspx page, where it is using...
View Article