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

Multitenant with mvc5 and identity

Hi,I am building a multi tenant app using mvc 5 and the new microsoft identity.I am trying to add a new field in the table AspNetUserRoles (tenantId), so I can have roles per user per tenant. How I can...

View Article


suspicious logged entries - User Agent is always "Mozilla/4.0 (compatible;...

Not sure if this is the correct forum for this, but my web site is being hit with a lot of suspicious entries. Every day, I get a lot of hits where the User Agent is always "Mozilla/4.0 (compatible;...

View Article


How to push login credentials to a landing page with multiple URL buttons

I am looking into a solution for pushing a user's login credentials to a landing page with options for different sites to go to.Basically the user will sign in and then be redirected to a landing page...

View Article

Using System.Net.WebRequest to copy files to Sharepoint

Greetings,I am trying to use System.Net.WebRequest from my web application to copy files to a Sharepoint library.  I have the AppPool set up to use a domain account that has owner permissions in the...

View Article

Problem in creating user programatically

I am using Microsoft ASP.NET Universal Providers 2.0.0( PM> Install-Package Microsoft.AspNet.Providers)Membership.CreateUser doesn't show up. I have included the System.Web.Security namespace.Please...

View Article


Is it possible to implement Membership and role provider in Asp.net MVC 4...

Hi All,We have the below requriement and we are told to do that in MVC 4The requirement isWe have some roles likeAdministrator SrManager Manager TeamLead Associate When the User belongs to the...

View Article

Security Issuse

Hi,Iam sorry if iam asking a silly topic.i have a website where users can login. iam storing values in Session cookies. when users click logout the cookie expires. but on clicking browser back button...

View Article

ExecuteReader: CommandText property has not been initialized

Hello guys,I have faced this problem when try to changed my code using SQL Parameter but I found this error:ExecuteReader: CommandText property has not been initializedAnd Here is my code:protected...

View Article


"No authority could be contacted for authentication"

Hi guys Just wondering if anyone else has had this issue? My felling is that the IIS box is trying to connect to the domain controller and is failing to do so. If this is correct then technically this...

View Article


IIS Reset causing Key not valid error (claims auth)

I tried this:> runas /user: domain\user cmd with no luckThis seems to only occur now when IIS is reset and I try to resume my browsing session. So I am logged into the application, I reset IIS on...

View Article

OWIN MVC Reverse Proxy

HiI have new MVC project created using the VS2103 Update 2 RC template with a individual user account authentication method.  The web site will sit behind a reverse proxy meaning all usersmust...

View Article

Image may be NSFW.
Clik here to view.

Strange Problem After Moving Hosts, Users Logged in As Other User

Hello. I am using ASP.NET membership with an MSSQL database.After moving hosts I am experiencing a strange problem. Several users have  reported being logged in as the wrong user when they visit the...

View Article

Windows Azure Your login attempt was not successful. Please try again.

Hello,i have this problem on my windows azure visual stuido when every i want to login, i will get this error message " Your login attempt was not successful. Please try again."i have entered the user...

View Article


Stop home page from accessing when we click back button

I have 3 users and a login page is provided for them. when a user is login, the user is directed to their respected pages. But the problem when a user once click the BACK BUTTON of the browser they...

View Article

Help - Why New Account is not being created

Hi,It seems like I have everything set up right but when I try to create new account the form is cleared and nothing happens and CreateUserWizard Just end up cleared.I tried adding section to my code...

View Article


Query String Encryption

I hope this is the correct forums for this question. In my asp.net application, I use querystring parameters between pages. For example, I have a list of products and clicking on one displays another...

View Article

ASP.NET SimpleMembership without EF and custom database

Hi all.I started a new ASP.NET MVC project, but I'm using Telerik Data Access as my ORM, as a requirement from my client. I want to implement the site's security by using ASP.NET SimpleMembership (or...

View Article


Get Client Information

Dear,I have a website published on IIS Server i want to get client who access my website such asClient IP address , Client Computer name (Machine name) , client Operating system Thank you.

View Article

Using Private/Public Keys for encryption in asp.net

I am new to the conept of Encryption using Public/Private keys (I do understand how it works). I have read that it is best to have a separate set of public/private keys for each User Session. However,...

View Article

The safest way to pass user/pass through asp.net pages?!

Hi pals,I have created a page with 2 textBoxes, one named userText for username and the other, passText for password. Let's imagine the correct username and password, both, are "admin". I am going to...

View Article
Browsing all 4737 articles
Browse latest View live


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