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

dbo.Users and dbo.aspnet_users

i have a mvc4 vs 11 beta project using an old windows authentication database, when i try to login i get the {"Invalid object name 'dbo.Users'."} errro because the tables are named with the aspnet_...

View Article


AddUserToRole User cannot be found

Hi,I am trying to add a user to a role, in the example below which is just to explain the issue at the various points, I create a user, check the user exists with GetUser, check the role exists, and...

View Article


Windows authenticaiton is Not working in IE and Chrome

I Have deployed my application in IIS and changed the authentication mode to Windows Authenctiocation in IIS.Enabled the Windows Authentication and Change the Provider to NTLM provider. Checked Enable...

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

No way for Administrator to Change Password!

Hello All,I just started working with ASP.NET MVC 5 and Visual Studio 2013, and am in the process of creating an Open Source Portal System. While coding an Administrative Dashboard to allow Site...

View Article


Logout action does not work.

Hi,Trying to redirect user to LoginPage after logout clicked. In my page load i've control like that.if (System.Web.HttpContext.Current.User.Identity.IsAuthenticated) {... ...}else //redirect to...

View Article

Microsoft.AspNet.Identity with Cookie and Bearer

I have a brand new 4.5.1 MVC/WebApi application that I want to secure. I want to use Cookie authentication for the MVC side and Bearer authentication for the WebApi side. Is this possible? I'm running...

View Article

Windows authentication inside Forms Authentication

For my web application, I set the authentication to Forms Authentication(Authentication with Local password)Is it also possible, to set the authentication to support both Forms and Windows...

View Article


After loggin in should I redirect to https or http version of home page?

I have a website with ‘LoginStatus control’ in master page. So every page shows the login status.I have a secure login page, say https://mysite.com/login.aspx.After someone is logged in, if he is...

View Article


BUG: ASP.NET Identity returns the wrong UserID

I have two separate MVC5 applications.  Each application has its own SQL database separate from the other application.Both applications use ASP.NET Identity.I've created a user in each application....

View Article

File Directory Unauthorized Operation

Hi,We're hosting our own website in our web server (IIS 7.0), Windows Web Server 2008 R2.  The website directory is inside the inetpub/wwwroot.  The website accesses data inside a folder...

View Article

Using FormsAuthentication_OnAuthenticate in global.asax.cs

I would like to use roles and membership without using the ASP.net membership. As a result, I use the FormsAuthentication_OnAuthenticate in global.asax.cs instead ofusing the conventional...

View Article

Mixed Authentication Bypass Login Screen

We have a Silverlight app which works with WCF services. The WCF services are hosted in ASP but we don't really use ASP for anything other than authentication. So, it's been a long time since I've had...

View Article


User Management for Form Based Authentication (FBA)

Hi,I want to develop a user management component for FBA. It should be pluggable(configurable) iwth Sql and AD or Custom data source. It should be comptible with any Asp.net web application as well as...

View Article

Query in NetworkInterface?

Hi,In my application, have a login page there i am checking user mac address also.using NetworkInterface() as code given below.Dim nics As NetworkInterface() =...

View Article


web forms password protect whole site

I am using asp.net 4.5 and have created a simple stock standard project byFile > New Project > Asp.net Web Application > Web Forms (Individual User Accounts)I try to password protect the whole...

View Article

Security Purpose for user Login

We need to get Client Machine MAC Address and Update in Database against user, after that , whenever user loggedin application should be in same machine otherwise system not allowed to login. This is...

View Article


Image may be NSFW.
Clik here to view.

How I can use AES with remove base64 and using another encoding?

Hello,Please Help Me , How I Can Use AES (Encrypt & Decrypt) in this code without base64 encoding but with another encoding (ex. UTF, integer, or another).this is my code,Protected Sub...

View Article

Windows authentication asking for Login

We have an intranet web application we deployed with windows authentication so that users dotn have to bother with logining in. It works for most users and they are able to just open it url and access...

View Article

EnvelopedCms class + Decrypting pkcs7-mime Message + The enveloped-data...

Hello friends,I am trying to decrypt an encrypted enveloped message of pkcs7 mime type.I'm getting two error messages:Cannot find the certificate and private key for decryption.The enveloped-data...

View Article
Browsing all 4737 articles
Browse latest View live


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