IIS7 v4.0 asp.net site attack
Hi ,my site is being attacked it seems, every day atleast once I get the Exception message: A potentially dangerous Request.Form value was detected from the client email notification from...
View ArticleAuthentication and Authorization?
Hi All,I am having a drop-down in Login Page that include Admin,Student and Faculty. My query is how can i provide authentication and authorization so that the Admin could access all the pages,while...
View Articlemembershipuser.resetpassword works, but generated password is hard to remember
I have a page that resets the user password. It uses membership.resetpassword to generate the password, and it works well, but the generated password is hard to remember.Maybe this isn't such a big...
View ArticleCompare Encrpted Password
Hi I am new to Encrypting password.I have to comapre Encrypted password with string password that user enters thru UI I dont know what mechanism is used for encrypting the password in DB..It was...
View ArticleStoring multiple encryption keys using DPAPI
I need to store and retrieve multiple private encryption keys. The keys have to be identifiable. Can this be done programmatically with the DPAPI?Is there a size limit to the DPAPI Entropy or...
View ArticleCookies VS sessions, what do you say?
To anyone who reads this POST I would like for you in a form of helping one out to post an inferential comment which illustrates by giving the clear distinction between the use of the 2 and what the...
View ArticleDefault VS2012 ASP.NET Web Site Template on Medium Trust Host
I have a default ASP.NET Web Site template project that I created with VS2012. I'm trying to publish it to 1and1.com where only Medium trust is allowed. Apparently, this template expects Full trust,...
View ArticleQuestion - .Net 4.0 Membership v.s. .Net 4.5.1 new membership in WebForm
To Team please;I have an application under development using ASP.Net 4.0 WebForm, which uses the legacy membership heavily for authentication and authorization. As .Net 4.5.1 is emerging I want to...
View ArticleHow to get OnlineUsers with a second user info table.
Hi All,1.I am using standard asp.net membership provider, 2. I have a table which lots of extra column for extra user information. I have UserName column as primary key in new table.3. I would like to...
View ArticleHow Retrieve Registered Username using CreateUserWizard
i have a registration page in which i used createuserwizard for user registration. and i apply this ContinueDestinationPageUrl="~/Default.aspx" and i want to retrieve the username on default page ....
View ArticleUse a .snk file in .NET assembly
I used sn.exe to create key.snk file.I don't know how to use this file to create a strong program with strong name.I found the following code in AssemblyInfo.cs In a project (From...
View ArticleForms authentication and User Roles
I am completely lost on what I need to do to create a secure login. Can someone give me a step by step for what I'm trying to do?Heres the breakdown....The standard user needs to login to access...
View ArticleFirst time login in web application takes time
web application with normal login say UserName& PassWord goes to Sql DB via a webservice & other login is via Active Directory users . Both kind of application login in above takes time...
View ArticleRequest validation for JSON request
Hi,I did some testing and some research, and it seems like any jQuery ajax JSON request that contains suspicious data is not being caught by ASP .NET MVC request validation. I looked into creating...
View ArticleSimple membership User authentication
I want to use simple membership future in my application.I know how can we create and use it.we are using lohin control to login and create userbut now i want to use my own defined form to create user...
View ArticleWebSecurity and LDAP membership
Hi I new in asp net web Pages programming, i need know as deploy webauthentication with WebSecurityandthe provider is LDAP,can it be done? orshould wedo differently?thanks in advancedJuan Pablo
View ArticleCustom account in applicationpool overrides the windows authentication inIIS7...
<div>Hi ,We have replace the Application Pool Identity into Custom account (ex: xyzuser) in the applicationPool .We have hosted a sample asp.net in the IIS7 with Authentication mode=windows and...
View ArticleHow to remove Roles
I added these roles in my code.if (!Roles.RoleExists("Administrators")) Roles.CreateRole("Administrators"); //create intern roles if they don't exist if (!Roles.RoleExists("Intern"))...
View ArticleGetting dbo.aspnet_CheckSchemaVersion when logging in.
I enabled RoleManager in my MVC app. It is using built in role provider I believe.Locally, the app works fine. It blocks user who I restrict. And these are the db files created under...
View ArticleAuthenticate username/Password by application after setting Basic...
Hi All,Thanks in Advance.I have one Virtual Directory(VD) with restricted rights. Setup basic and integrated Authentication setup from IIS.Now when I am accessing any URL from this VD. it is prompt me...
View Article