Programatically add new roles
HelloI want to add a new role by codeI try to use (roles.RoleExists) and (roles.CreateRole)ButI fount that those methods are not implementedI am really I need to implement these methods, can any one...
View ArticleOwin token
I have my website enabled with owin and identity authentication. I can authenticate to my website based on a bearer token and on an applicationcookie. Everything works fine on my own server. Now I have...
View ArticleASP.Net cannot call the informatica server when security patches are applied.
OS: Windows Server 2008 R2 Enterprise..net FrameworK:MS .NET Framework 4.5.2 We do a informatica call or connectivity from our ASP.net WCF webservice to the informatica server.Server team applied the...
View ArticleOverride Forms Authentication default domain attribute value programmatically
I have a project which is used for different domains. I want to know if it is possible to set the attribute domain below programmatically.<forms name="name" how to change the domain that the default...
View ArticleHow to implement ASP.NET Identity 2.0 in multi-tier solution
I'm looking for some guidance as to how to implement ASP.NET identity in a multi-tier environment. I have a physically separated presentation and business layer, but all of the examples and sample code...
View ArticleASP.NET Identity Remember Me
I have built an application targeted at mobile devices. I would like to be able to check the "remember me" option when logging in, and then be automatically authenticated from that point on, whenever I...
View ArticleAdvanced authorization for online subscriptions
Hi Guys,I was wondering if anyone would be interesting in scratching their heads on a possible solution for an asp.net authorization setup.The problem that I am having is I can't figure out how to...
View ArticleHow much token based auth is secured
Token based auth works like this wayThe general concept behind a token-based authentication system is simple. Allow users to enter their username and password in order to obtain a token which allows...
View ArticleLogin control won't login
AfternoonI've been using VS 2013 and created an asp.net web forms application using the template with bootstrap. I have a login control that does all of the default behaviour using AspNet tables within...
View Articlebest security scanning program
Hi.Can someone sugesst best programm for security scanning on web?
View ArticleTracking users with Windows Authentication in MVC application
Intranet site with Windows AuthenticationOriginally, our requirements were having us implement forms authentication. Our supporting database had "CreatedBy" and "UpdateById" columns on certain tables...
View ArticleHow can I disable a function key say F4 for a particular application
Consider a business scenario in which an application uses F4 key to auto-fill some inputs with previous record details; and management want to stop this.Now, question is, what would be the best...
View Articleforms Authontication for multimple website
hii create a web application that run in "localhost:1328" that use forms authentication for login users.i create another web application that run in "localhost:1228" and i want to use "localhost:1328"...
View ArticleGiving access rights in code.
Hi All,I'm writing a generic error handler for all our apps and there will be a configure option in a resource file that will be set to determine the error logging Mechanism e.g. email support, write a...
View ArticlePage.User
Hi,I'm trying to figure out whyPage.User.Identity.Name returns an empty string in the Site.Master.web.config is:<authenticationmode="Windows"/>Help!Thanks,tinac99
View ArticleHashPassword with MD2 to match SQL HASHBYTES
I have a database that uses MD2 password hashing via the SQL Server HASHBYTES function. I don't see MD2 in the System.Security.Cryptography library, nor a way for the System.Web.Helpers.Crypto library...
View Articleimplement my authorise interface and not use that exist. any help!!
hi everyone,i need to define a set o f users thats can access my application resource and another how can't , a read some tutorial with simple membership provider but that not exactly what i want , i...
View ArticleWindows Authentication permissions
I'm sure this is a really simple question but all the resources available regarding Windows Authentication seem to be leaving out an important part. Do I have to include users and/or groups in the...
View Articleabout windows authentication
Hi experts, I enabled windows authentication for asp.net mvc project. I'm in company domain, and when I send an get request to server side, I don't see any special stuff like username/pwd in...
View Articleopening pdf file
Hi I have asp.net page I am using file upload to put files in server so it's work greatand I have another page to view this files usually I am using .pdf file for this my...
View Article