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

protecting subfolder - but not converting to application

I want to protect a certain subfolder on a website unless they are authenticated, then they can browse/access files in that subfolder./website   /subfolder       /admin << THIS is the folder I...

View Article


OWIN Facebook Authentication Does Not Use AppSecret Proof Parameter When...

As an added security measure Facebook API calls can specify the appsecret_proof (seehttps://developers.facebook.com/docs/graph-api/securing-requests/). There is an advanced option in the Facebook app...

View Article


Custom CreateIdentity

Hi,I am new to Microsoft.AspNet.Identity. I took asp.net website from vs2013 templates. I got inbuilt Login controls, methods.But I want to customize it. I have used entity framework 6. I have...

View Article

Use Security Code to View Page

I want to have a link to a webpage, but keep it secure without using any membership authentication.I will be sending an email out to people that will contain a code (ex: abc123).When the user navigates...

View Article

Combining MVC 5 login and WebAPI 2 login

Hi all,I have an idea in my head for an application. Which requires to login in to a website and login to webapi from a desktop application. I though i would just combine the 2 system so that the...

View Article


OWIN with Legacy

I've just made my first MVC5 app, and I'm looking at the OWIN security, trouble is I need it to work with my legacy Forms Authentication database (not Facebook!) The only article I can find about using...

View Article

WebAPI with Windows Authentication - How Does Web API Know?

Hi,I'm looking in to windows authentication with WebAPI (Although I'm sure the same question may apply to MVC and possibly web forms). I created a web project and selected WebAPI and mvc, and chanegd...

View Article

Microsoft Lync user agent pinging website muliple times

Our website started showing a significant increase in traffic. When investigated we found each ip logged is hitting website 100's of time in a day in some cases number is in 1000s.User-Agent:...

View Article


How to get additional info using Facebook authentication

Hi,I just started a new MVC 5 project and want to use Facebook authentication. I see that the whole authentication is rewritten in MVC 5 using OWIN -- which I'm not very familiar with.All I'm...

View Article


[Authorize(Roles = "roleName")] does not work in VS2013 MVC5 with...

I have a project that uses Role based authentication to control access to a number of areas. In previous versions I was able to control this via attributes such as those in the title of this post...

View Article

I am Facing issues for data having two feilds viz. Dept. and Target Languages

Hello Everyone,I have this issue where I am not able to know the exact cause of why the dept./target languages feilds are empty.Please se the image attached and let me know if anyone can help me as it...

View Article

Form + basic authentication cause problem

I have setup site in IIS 7.5 and .net 4. Because its QA site I have set basic authentication on. While DNN (Site) require From authentication. This was used to work well till some .net framework...

View Article

ASP.NET Identity 2.0alpha: The controller for path '/Token' was not found or...

Hello,I have an ASP.NET MVC SPA application built from the VS2013 ASP.NET SPA template. It uses ASP.NET identity 1.0.The ASP.NET team recently released 2.0alpha of ASP.NET...

View Article


identity, claims, and azure

I hope to start eventually to change my standard roles and membership to a method that uses claims.  I read some documentation, but I'm not clear on it.  (I also don't know if I should use "membership...

View Article

IsInRole throws The trust relationship between this workstation and the...

I've installed Win7 Ent - clear new instance (I think at Vista will be the same). Include comp into my domain. Install VS2008.The problem is in running my old ASP.NET application that is uses Windows...

View Article


Getting the Current.User.Identity.Name

HiI have a small application that uses the asp.net Membership Provider.The Application is in 2 parts, Normal Web Browser and Mobile.In the Normal Web Browser Version I have a logon screen that consists...

View Article

Extending Owin.Oauth

Hi,I'd like to use MicrosoftAccountAuthentication to make offline request to a microsoft Live service.var scopes = new[] {"wl.basic", "wl.calendars", "wl.signin", "wl.offline_access", "wl.emails"}; var...

View Article


Setting identity for loginview

Hi Folks,I have a web app for which I need to create a manual login control.  In this controls login method I am doing an FormsAuthentication.SetAuthCooking followed by a Response.Redirect - this works...

View Article

Security issue

Yesterday all my website was hackedin same time. I have VPS hosting, I do not want to say in which companie. Resived message from google:We recently discovered that some of your pages can cause users...

View Article

Should I add columns to aspnet_Users?

Hello all,I am using membership and roles which is working so far but the issue I have is where should I store other information about users?Do I add columns to aspnet_Users, e.g. birthday, city, etc...

View Article
Browsing all 4737 articles
Browse latest View live


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