Securing webapi
HiI am trying to understand the best way to build a highly secure webapi, I am familiar with how to build multitenant systems and how to seperate the data etc, but I have never provided Public API...
View Articleaspnet.identity
I am trying to make a web forms site using the new aspnet. identity. I have a database (sql server) that does not use the old Aspnet_membership tables. It did create the aspntuser tables when I ran...
View ArticleUser.Identity.IsAuthenticated Problem
HiThis is my code on page Load of A.aspx if (User.Identity.IsAuthenticated == false) { Server.Transfer("login.aspx"); }When user vists without login it will redirect to login.aspx pageafter entering...
View Articlemultiple User.IsInRole
hey every one i'm new here i faced this problemwhen i multiple this condition on different position on same page i'v got error@if(User.IsInRole("admin")) {...
View Articleusing foreign key by name of role rather than number of role
i have 2 tables [Table("UserTb")] public class UserTb { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int IdUser { get; set; } public string NameUser { get; set; } public string...
View Articleauthenticate with RFID card
Hi , i need some help please. I want to create an authenticate with RFID Card for an asp.net mvc application and i need some link who can help for to release this solution and thank's in advance
View ArticleADFS auth for existing intranet app
Hello everyone.There is existing asp web forms application which works as intranet solution with windows authentication.I want to secure this solution with company's ADFS. How can I achieve this?
View ArticleHow to Integrating ASP.NET Identity into Existing DbContext
i want identity should use my own DB context instead of its own. please guide me how to do it.i want single db context through out the project. guide me how it will be possible ?sample identity db...
View ArticleIdentity can't generate the token on asp.net hosting
Hello,This question is about the differences between token generation for email confirmation on local machine and asp.net hosting.Take a look below, to generate the token I use...
View ArticleWhat are the necessary changes required to work with TLS 1.1 in .net...
We have an asp.net application in .net framework 3.5 where we connect to the sales force service, but recently sales force have updated their security TLS 1.0 to higher version. So now we can not...
View ArticleSécurity authentication with active directory
Hi , i tray to change windows authentication to Forms authentication using active directory in my application (asp.net 4.0) . i change and configure the file web.config as the link...
View ArticleAD Authentication with ASP.NET Identity
Hello,I have several older asp.net web forms applications that authenticate users against the active directory (forms authentication) using the membership element in...
View ArticleSecurity of an intranet web site
Hello,I'm creating an domain intranet website and I would like to allow some user to access to specific pages. The menu based on a maps should change too.I've heard about roles but cannot be able to do...
View Articleasp.net storing users in a separate database than roles???
For some reason I am getting my users to store in sql with the add user control, but when I add roles, either through the web configuration page or using code, they get stored in a local db file, I...
View ArticleEncrypt web config connections section for Entity Framework
I am looking for a simple solution to encrypt an application's config file, the connections section by using code behind. I've come across a method shown below. I have a few questions about using it....
View ArticleTransition period while renewing service certificate
Hello,In our application we have one wcf service and multiple clients. we are using Message Security with Mutual Certificates.In this configuration we are keeping server certificate on client machine...
View Articleconfiguration of the web config for to use RFID technology
Hi , i have a question please . how configure the web config of an asp.net application for to use RFID authentication ( ID of RFID card )? how to use the RFID authentification with an asp.net mvc...
View ArticleSystem_Net_Mail_SmtpPermission : Error 1and1
I have the same problem as past thread : https://forums.asp.net/t/1111145.aspx?I+don+t+have+System+Net+Mail+SmtpPermission+Seems like this is locked but there are no solutions here.Basiclly : My mail...
View ArticleExtending the .cshtml view for admin
Hello,This question is about using Identity Roles in ASP.NET MVC application.Let's assume, that I have two types of user role:A/ admin userB/ regular userThere is also a view (in fact this is the...
View ArticleProblem with anti-forgery token in Opera
Hi,I use ASP.NET MVC and just tried to login in Opera and I received the following error:"The required anti-forgery cookie "__RequestVerificationToken" is not present".There is no such problem in IE,...
View Article