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

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 Article


aspnet.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 Article


User.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 Article

multiple 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 Article

using 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 Article


authenticate 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 Article

ADFS 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 Article

How 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 Article


Identity 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 Article


What 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 Article

Sé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 Article

AD 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 Article

Security 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 Article


asp.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 Article

Encrypt 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 Article


Transition 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 Article

configuration 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 Article


System_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 Article

Extending 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 Article

Problem 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
Browsing all 4737 articles
Browse latest View live


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