Block ip adress (Server 2012 R2, IIS 8.5)
I getsome strangeattacksfrom differentIPaddresses.Whichis the bestway to limit access to thoseIPaddresses?Is it betterthrough therouter to block?Atthe serverlevel or throughIIS?Please...
View ArticleIdentity Authentification Question
Hi,in a previous project (web form) i have implemented a very simple authentification system .in my database i have only usernames,when a user try to login , he/she provide his username and his...
View Articleauthentication problem
hi all,I have a bunch of pages on a web site that are set in IIS witt Anonymous Authentication and Forms Authentication Enabled.There is a login.aspx page that re-directs to a certain url inside the...
View ArticleWhat type of password salt(SHA1 or MD5) in my code.
Hi allWhat type of password salt(SHA1 or MD5) in my code and How to do password salt(SHA1 or MD5). protected string EncryptPassword(string txtPassword) { byte[] passBytes =...
View Articlehow to replace or in Identity system?
Like the way we use to do with the previous authentication system that we use a web.config in the folder to allow or deny.I am using Identity. i am able to register new users and assign roles. Now i...
View ArticleError with membership references
The last line at Membership.GetUser.ProviderUserKey gives me an error message - 'Public Overridable ReadOnly Property ProviderUserKey As Object' is declared in project...
View Articleaspnet-regAzure.exe - where can i download this?
i want to implement the asp.net membership provider but my database is on azure: i understand i need the aspnet-regAzure.exe script but this no longer seems to be available as this page...
View ArticleXSS scripting for Search textbox
I have a textbox which is used for searching the data within the site. What my client wants that, 1)Enter any text in the search field and click the search symbol. 2)The request going to the server...
View ArticleAuthentication in .net
Hello All,We have number of websites for different productsFor e.g.www.vmsproduct.com www.atsproduct.com Now, we are making independent Email product/website which can be accessed from any of the...
View Articlemembership expired when used one ip address for more website
hi,i have problem with membership expired. I have one IP Address Port "80" and HostName "*" If I used one IP for more the same websites like this: Ip Addres: 1.1.1.2.5.6 domain1->1.1.1.2.5.6...
View ArticleInternet/intranet website - support only domain user
Hi All,I am creating a web application for my organization. As per the requirement the website need to accessed from internet or intranet and it should allow only domain/active directory users . If the...
View Articleproblem (Guid)Membership.GetUser(User.Identity.Name).ProviderUserKey object...
Hi, I'm looking for solution about my problem but I can't found and I do not have any idea. My problem: I have one the same application (in the same folder D:\MyApp) Binding more domain name (domain1,...
View ArticleToken based authentication between web api and mvc
I am struck in token saving in mvci am registering user from mvc using web api when he/she enter credentials those are passed from mvc to web api so there web api creates user after creating user in...
View ArticleWebmatrix Razor Site, Showing last user as logged for others.
I have the Razor template site deployed. Recently, for IE only, when one navigates to the site it is showing you as logged in as the last user that was logged in. When you click on the user for account...
View Articleowin + oauth + bearer token authentication: full picture
I've read articles and seen example projects. I know owin allows to decouple application from web-server specific code, oauth allows third party clients to get access to application resources, and...
View ArticleSecure Authentication but usable for Kids !
HiI need to develop an online solution for primary school kids from many schools.A school needs an administrative login in order to add and manage teachers.The teachers then need to log in to add and...
View ArticleImplementing Inheritance in User Model in ASP.Net MVC
In VS 2013, when I choose the individual auth., VS generates an authentication platform for me.The structure of my data is in such a way that I have different types of Users, so I want to apply...
View ArticleSSL/Https Global.asax
this is so that people would like me how to https with www and without www on such that all my sends me over to the side with https www and without www.I've tried to do like this:if...
View ArticleHow much form authetication is secured
i like to know what kind of data is stored in auth cookie as encrypted data in client pc?user and password both stored in auth cookie or only user name ?in case of cookie less form authentication how...
View Article