Quantcast
Channel: Security
Browsing all 4737 articles
Browse latest View live

web api 2 by siteminder found 302 moved temporarily

The project is used asp.net web api 2, and I enabled the cros. If I use ip to access the web, all httpverbs(get,put,update, delete) haven't any problem.But if we  visit the web by siteminder( a...

View Article


Sharing an identity database between a web app and a web service

Hi,    I'm writing a web app and a web service that need to share the same asp.net identity database. I also want to be able to register new users via a web service function (that will be called via a...

View Article


GoogleOAuth2AuthenticationProvider AccessToken not getting validated

I am using the GoogleOAuth2AuthenticationOptions class for authentication in my MVC5 Web App (SPA Template).  Given below is the codevar g = new GoogleOAuth2AuthenticationOptions { ClientId =...

View Article

Using the new IdentityFramework with an existing Database

How do you configure the new Microsoft.AspNet.Identity.EntityFramework system to work with a database first entityframework model?I can see the codefirst example code supplied here...

View Article

How User account be locked for 30 min after 5 unsuccessful login attempts

How to do it

View Article


Server cannot append header after HTTP headers have been sent.

hi.i have a web forms app (deployed to azure) that was created using vs 2013 update 2. i have also injected elmah into the app. now it seems something is wrong with the way authentification works:...

View Article

OWIN and Authorization Code Grant Flow - Always Bad Request (Invalid Grant)

I've set up the following in Startup.Auth.cs: public partial class Startup { public void ConfigureAuth(IAppBuilder app) { // Enable the Application Sign In Cookie. app.UseCookieAuthentication(new...

View Article

signature of ServiceRoute constructor, used in Thinktecture

<div>I am looking at line 152-162</div>...

View Article


List of Security aspects to be incorporated while developing WEB Application...

Need to know the List of Security aspects to be incorporated while developing WEB Application Using ASP.Net 

View Article


neded help with security and login pages

To all, thanks!I'm new to ASP.NET, just started uysing VSE2010 a month ago, after MS Expression seemed to give so much trouble. I have site built on FrontPage (I miss the good ole days) and it has...

View Article

Web Service Security

I have a web service called directory.svc. I am going to inplement httpmodule from greg rassoc...

View Article

Login status doesnot change on successful login

hello guys.while (rs.Read()) { if (rs.GetString(0) == DropDownList1.SelectedValue) { pass = rs.GetString(1); secure = rs.GetString(2); if (pass == TextBox1.Text) {...

View Article

0x800a01ad - Microsoft JScript runtime error: Automation server can't create...

I am trying to create a Word document from a template on a client.  The Client is Windows 7 64bit with Office 2010 32bit and IE 9.0.The Web page is a Web Form and is using javascript to create the Word...

View Article


prevent form authentication cookie does not work

Hi friends,I dont want brower keeps authentication cookies.this is my web.config and these code that I write doesn't work, <authentication mode="Forms"><forms cookieless="UseUri"...

View Article

How can ASP.NET Identity be used with a Model First application?

I don't like Code First as it has missing features as compared to Model First (and vice versa).But we are heavily invested in Model First.Can anyone provide a reasonable approach to using ASP.NET...

View Article


which is the best way to allow security for web application?

Hi i am new to asp.net which is the best way to allow security for web application?1.using login controls ?or2.using my own UI with c# code ?help me , thanks in advance !

View Article

System.Web.HttpContext.Current.User.Identity.IsAuthenticated

we are using System.Web.HttpContext.Current.User.Identity.IsAuthenticated to authenticate the user to access few pages from our website. We hosted the website on Virtual machine. It is unable to...

View Article


RoleProvider with Page level access?

Hi, I configured the RoleProvider using regsql and got it working.  We can use this check their role and disable/hide certain navigation links.  However, we have a requirement to prevent certain roles...

View Article

Http to Https redirection for Single Page.

Hi,I need to redirect my login.aspx page from http to https. And all other pages should be normal http.how can i archeive this.Please help me.

View Article

asp.net mvc 5.1, asp.net identity 2.0, Request.IsAuthenticated problem

I created a project using asp.net mvc 5.1, asp.net identity 2.0. After I deploy it to IIS, when I go to secure page 'https://www.domain.com/Account/Login', after login,  if I go...

View Article
Browsing all 4737 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>