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

Access Page

How do i do the likes of this on a master page im wanting to redirect to login in not authorised ??.               if (Context.User.Identity.AuthenticationType == "Forms" &&...

View Article


What's UserManager.UserTokenProvider?

I can't find information on this property.What does it do? How can I utilize and customize it?

View Article


How can I get an external OAuth2 authentication service's error messages?

I am currently learning to use OAuth2 and so I have created a Google account and trying to fiddle around with it.When the authentication fails, all I seem to get isGetExternalLogin(provider = "Google",...

View Article

how to prevent Unvalidated Redirects and Forwards in application

Dear Frens how to prevent Unvalidated Redirects and Forwards from my application if a user use my website url and pass his url with it , i need to prevent it please help me in this 

View Article

How can I get more claims from OWIN?

When authenticating against the Google OpenID provider, OWIN requests a bunch of user data from Google:{"kind": "plus#person","etag":...

View Article


Need to have common identity DB for web app and web API

I have a solution where one project is a web application and another is a web API application. I am using ASP Identity and I need the registered users to be in one place common to both apps.  I find...

View Article

Security database

Hello allmaybe this question is many time postedI need good information about a SQL database that put users and password. My problem is that I must have it for different sites on the same server. I...

View Article

Server logs me in as different user

Hi, I have windows authentication setup on numerous ASP.NET websites on my web server. When I navigate to an application, it thinks I am logged in as Joe Bloggs rather than Dan Dare, if I query what...

View Article


IdentityUser in domain only project

I created a custom IdentityUser implementation to map to my existing database. It works great.It seems like best practice is to create your EF entities in their own project, the DbContext in it's own...

View Article


Single Sign On, two databases with their own identity tables

Hi All,A client has a website that is using .net 4.0 with MVC. This website has its own database and identity tables.We implemented a web application for the client that is completely decoupled from...

View Article

How to establish Mysql Connection under Medium Trust

My Hosting company have change its policy and now they are not supporting full trust. So I am no longer able to connect to my Mysql database using Asp.Net.I tried everything which was provided by...

View Article

Allocating Roles automatically when New Users are registering ...

I have a site with 4 different roles.Is it possible to automatically allocate a role to a new applicant / user when they are registering, rather than an administrator allocating a role through the...

View Article

401 1 2148074254 202 error with new app pools but not old ones

I am adding a new web application to an existing IIS7 server (Windows 2008) and want to create a new app pool for it. However, when I do this, I keep getting the IE pop up asking for credentials when...

View Article


SSL and C#

I want to use SSL, mainly to protect the application users username and password. So here is my question. Suppose the application user enters their username and password into their web browser, and...

View Article

what is the difference between OpenAuth and OpenID

i like to know what is OpenAuth and OpenID ?what OpenAuth does and what OpenID ?what is difference between them?for what kind of job people use OpenAuth ?for what kind of job people use OpenID ?discuss...

View Article


Razor, web security and SSL certificates

I am trying to add SSL to my websecurity however the link provided on the site is a dead link.Dead link =...

View Article

Webservice to webservice authentication

Hello community,I haved post this in a the IIS Security forum. Now I am post this here because this could be also a code problem.I have this problem: There is an app which registered via the windows...

View Article


problem getting network user id - svc-webapps shows up instead

I have an aspx page that uses some code behind to populate a textbox with the network user id...            System.Security.Principal.WindowsIdentity a =...

View Article

Copy file using service account

Hi All,I have a requirement to copy a file to a share location using service account because only service account has access to that folder.  Is there is any way to copy the file using service account?...

View Article

Decrypt SecureBlackbox pgp

Hi,I don't know much about pgp encryption. I have a file that is enctypted by SecureBlackbox pgp. I want to know how I can I decrypt it. I have private key and password. I try to use BouncyCastle ,but...

View Article
Browsing all 4737 articles
Browse latest View live


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