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

MVC 4 web application's Windows Authentication ignored by Chrome

I have an MVC 4 web application that uses Windows Authentication. I deploy that app to real web server with IIS 7. The Windows Authentication function works well with Internet Explorer (IE), FireFox...

View Article


ASP.NET MVC4 Anonymous with Windows Auth, try to windows auth first

I have an intranet site set up on the IIS side I am allowing anonymous auth and windows auth.  On the application side I have ASP.NET MVC4.  I am taking advantage of the new AllowAnonymous Attribute on...

View Article


Fail to remove a user from a role

I want to change a user from one role to another and what I do is to remove it from the current role and then insert it to the new one. For this I use "RemoveUserFromRole" and "AddUserToRole" methods,...

View Article

getting page not found

I converted from MWD 2010 to Studio 2012 Pro.  I use the standard membership and roles.  Before conversion, If someone tried to access a page as an anonymous user, it would send them to the...

View Article

ReturnUrl not added to Login request

I am using Visual Web Developer 2010 with the standard login facilities and a link to the login page provided by Site.master. When I login however, ReturnUrl is not added to the request so I am unable...

View Article


Windows Authentication MVC4 Intranet App

Hi I have done a lot of reading but feel I am missing some very basic concepts here:How can I compare the windows authenticated user on the intranet to a list of employees in an sql database and then...

View Article

ASP.NET template only works with one domain

Hi everyone,Just joined here as I'm searching how to solve an issue I'm facing with a template I purchased online!It works fine with the first domain I have but not the other ones, and It seems to be...

View Article

RE:How to Restrict Multiple login for same User Simultaneously

IF User A logged in using  username and password in browserif I open New window or New Tab using same browser with same login ID and password .Now i want Restrict the above Scenario but  i want to...

View Article


Default Application Pool - Access to printers

Hi Everyone,I have a network printer in which applications on my Windows 2008 Server print to. I've found that my applications will stop being able to access the printer causing applications to hang or...

View Article


Loading this assembly would produce a different grant set from other...

I am using .net Framework 4.5. The following piece of code works fine when i run through Visual Studio on my machine. It also works fine when deployed onto my local IIS 7.5(Windows 7). However on...

View Article

Website Using Forms Authentication getting logged out inconsistently.

We have a webapplication , which use FormsAuthentication mechanism for login. The application was working fine in .Net 2.0 version and recently it got migrated to .Net 4.0 and then onwards some users...

View Article

Forms Authentication redirects without logging out

In my application, I'm using Authorization in web.config to restrain access to certain resources. When a user in a privileged page Clicks the logout button, I want the user to be logged out and...

View Article

How to pass throught the Asp.net membership authentication

Hi:       Is there a meathod, for example: a special url,  developer can  pass throught the Asp.net membership  authentication, skip the login procedure  and got the user's privilege defined in...

View Article


SimpleMembership without EF

Hi,I want to explore the new SimpleMembership to get familiar with it but I don't use EF in my app. How can I use SimpleMembership in a new MVC project without EF? More specifically:How do I set up...

View Article

Encrypt and Decrypt in C# Web Pages

Hi All,I found the below code for encryption and decryption of password, but unfortunately it is not working. I googled through so many sites, almost everyone tells, they are able to work with it, but...

View Article


Active Directory security groups in lieu of membership roles

I have used SQL membership roles in the past and now i need to develop something using active directory for authentication, although i got the app to authenticate against AD but i need to provide page...

View Article

Thinktecture Identity Server and ASP.NET open OAuth

Anyone succeeded to use Thinktecture Identity Server as an OAuth identity provider for ASP.NET Open OAuth?I would like to use the Identity Server as an OAuth Identity provider (similar to Google and...

View Article


Question about ASP.NET Identity

Hi,I'm playing with the new Visual Studio 2013 and One ASP.NET. I'm confused about something:The new User model seems to inherit from IUser where the Id property is defined as a string type even though...

View Article

Nuget -> required package needed to get Microsoft.Web.WebPages.OAuth;

What is the required package needed to get this to run form Nugetusing Microsoft.Web.WebPages.OAuth;Error 3 The type or namespace name 'WebPages' does not exist in the namespace 'Microsoft.Web' (are...

View Article

Variable user id in connection string

hi.. is possible to make a Variable user id in connection string for example..<connectionStrings> <add name="Northwind" connectionString="Provider=sqloledb;Data Source=.;Initial...

View Article
Browsing all 4737 articles
Browse latest View live


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