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

change password with other machinekey

hi,if i changed machine key in web.config how can i replace for all users in aspnet_membership with new encyrpted?Regards

View Article


Page Level Permissions for Roles using AspDotNet MemberShip

Hi,I'm using AspDotNet MemberShip. current i have created Admin, SubAmin and customer roles.now i want to give page level permission  (View, Edit, Delete) for eash SubAmin based on Page.I need...

View Article


asp.net active directory authentication for users with group based...

I'm a beginner working on a small inventory project which requires active directory user authentication with active directory group based authorization to individual forms and menu items. The google...

View Article

Antiforgery DOM token synchronization across browser tabs (MVC 4)

How do you keep the Antiforgery DOM tokens in sync across multiple browser tabs?   Specifically, if user session expires on TabA and then signs back in, TabB DOM antiforgery token seems to no longer...

View Article

Custom User Service for Thinktecture Identity Server V3

I am trying to create a custom user service to authenticate a user against multiple user stores. As per my understanding I have to create a new service implementing interface IUserService.In my login...

View Article


Login to SQL database without using DefaultAppPool login

Hi,I have an SQL Express 2014 database in my local machine and a .NET 4.5 web app which connects to it. To run my app using my local machine for the purpose of demos to clients, I Publish my web app to...

View Article

xml input filtering

I have a webpage where the user can enter raw xml in a text area for upload to the server.  I upload the data via ajax to an api controller, where I read the string result from the request content and...

View Article

I want to have multiple roles and give specific roles to specific folders...

Once upon a time I was easily led through these issues with wizards and setting web.configs within folders but now with Identity and Entity Frameworks nothing seems so simple.Can anyone point me to an...

View Article


site acting strange!

Hi,I have a site, when i first load it goes to main.aspx, if i try to login it will keep redirecting to the same page (won't login) until i browse some other page where it checks if the user is logged...

View Article


Trying ASP.NET Identity

I've created a project, File/New/Project... - ASP.NET Web Application and thenWeb Forms (have also tried MCV with same result) with Authentication set toIndividual User Accounts.When I run it for the...

View Article

how to redirect to login page if user directly entres URL in browser using...

Hi, I am working on asp.net entity framework. I want to access the pages only through login and not directly by entering the URL of the page. If user enters the URL of the page and tries to access it...

View Article

Fine grained authorization externalization

Hi, we want to extract our authorization logic out of applications and put it outside.We were using Azman earlier but want to move out. I have found references of XACML but does not seem to be very...

View Article

Workflow of Authentication Federation with ASP.Net Identity in Web API and...

Hi. I have implemented a Web API with ASP.Net Identity JWT Authentication to serve as a authentication server.Supposing i have several mobile apps consuming their own resource servers and each of them...

View Article


ASP.NET OWIN - How to set the CookieDomain to make SSO work across a domain...

I am trying to flow the asp.net authentication cookie from one MVC 5 website to another, on the same parent domain, using OWIN cookie authentication. I couldn't make it work on the real sites, so have...

View Article

Is there a way to determine different machines behind a router?

We have implemented an "extra" security feature that has been built into an asp.net vb web application to check for database "hack" codes inside the incoming URL, the HTTP request header agent fields,...

View Article


How to redirect to login page if copy and paste the url in browser after logout?

for example i have login page and use my user name and password i would login.now i am in product.aspx page.i am copy the link.after logout i have paste the link in browser that time how to redirect...

View Article

Do I need to increase CookieTimeout value, if I set Session Timeout and...

Hi,I am supporting a asp.net we app. In the web.config file, currently the session timeout is set as 20 minutes, Form Authentication timeout is set at 20 minutes, and <roleManager ...> the...

View Article


Creating a Custom Membership provider for Oracle.

HiI am trying to build an application which should connect to oracle database should I inherit from ProviderBase or MembershipProvider class?Please help with the code elaboration and the method which...

View Article

Login page just resets

HelloI have set up a Winforms asp.net site using VS2015The login was working fine, but now has an intermittent problem that it will simply stop working. i.e. when you try to login the page just resets...

View Article

Active Membership Provider ValidateUser method always return false

Hi,In my project I am using Active directory membership provider and for one user membership.ValidateUser method always return false. even if we provide correct credentials it is returning false. user...

View Article
Browsing all 4737 articles
Browse latest View live