login-control

Secure an ASP.NET Application Using limit for number of logins

喜欢而已 提交于 2019-12-11 05:16:35
问题 I am trying to find a solution to control the number of logins on asp.net application. I need to install the application in the client server, and set the number of licences. e.g. only 10 users are allowed to access the app. Every time someone tries to login I need to check how many user are logged in, compare with the total allowed then authorize that user to proceed. I tried with Certificate, but I couldn't see where to match the number of logged in users with the max number of allowed user

Default login asp.net MVC3

断了今生、忘了曾经 提交于 2019-12-11 03:57:48
问题 Where is the login information (username, password) actually stored by using the default template from ASP.NET MVC application in VS2010? I mean, is it physically registered in a database, file or something else? 回答1: Upon registering the first user a database named ASPNETDB.MDF under the application’s App_Data directory is created. This information was supplied by default in the root web.config file. 回答2: There is no default login. There is not even a database created when you start a new

Login control's loggedin event not firing

旧街凉风 提交于 2019-12-06 12:27:13
问题 I've noticed that forums are littered with examples of this problem, but with the only solutions referring to events not actually being hooked up, or typos. I'm pretty sure that my problem relates to neither of these! I have a login control with an opening tag that looks like this: <asp:Login ID="signInControl" FailureText="Sorry, your login has not been successful" runat="server" DisplayRememberMe="false" OnLoggedIn="signInControl_LoggedIn" OnAuthenticate="signInControl_Authenticate"

Share login info between CMSs (Wordpress and phpBB)

淺唱寂寞╮ 提交于 2019-12-06 11:36:56
Say I want to develop a site with some CMS embedded in it - e.g., a Wordpress blog and phpbb forum. What's the most convenient way to unify the log-in and sign-up process for my site? Letting users have a different registration process for each part of the site would probably scare any sane user away. EDIT I prefer generic solutions, not necessarily for the aforementioned CMSs. Both Wordpress and phpBB3 have OpenID authentication plugins -- you could use OpenID for both. This might be what you want: http://www.wp-united.com/ Usually this is solved by a plugin into one CMS that uses or even

How to redirect the users to their id specific urls/landing pages after they log in?

亡梦爱人 提交于 2019-12-04 14:51:20
问题 How to redirect the users to their id specific urls/landing pages after they log in? The redirected urls' query strings should show values associated with their ids (Primary key) stored in Mysql database. For instance, The corresponding values of "id" for 1st, 2nd 3rd and 4th users are 1, 2, 3 & 4 The logged pages / landing pages should look like the following urls respectively after the users are looged in successfully. www.anysite.com/anydirectory/user.php?id=1 www.anysite.com/anydirectory

Subdomains and Logins

跟風遠走 提交于 2019-12-04 14:44:13
问题 If you multiple subdomains e.g.: sub1.domain_name.com sub2.domain_name.com Is there a way to have a user be able to log into both of these without issues and double login issue? The platform is Python, Django. 回答1: Without information regarding what platform you are using, it is difficult to say. If you use cookies to store authentication information, and you are using subdomains as you describe, then you can force the cookie to be issued for the highest level domain, e.g. domain_name.com.

How to validate google recaptcha on client side?

对着背影说爱祢 提交于 2019-12-04 11:00:31
I have implemented google reCaptcha on a login panel showing after 3 unsuccessful login But I want to validate reCaptcha on a client slide using jQuery on clicking of login button here is the code <div style="display:none;width:310px;top:205px;left:558px;position:absolute" id="grecaptcha" runat="server"> <cc1:GoogleReCaptcha ID="ctrlGoogleReCaptcha1" runat="server" PublicKey="6LdHrQ0TAAAAAD77ubv9Jr6q4RYkyddhXzX-XPB3" PrivateKey="xxxxxxx" /> </div> <span id="captcha" style="margin-left:588px;color:red" /> <asp:Button ID="LoginButton" runat="server" OnClientClick="get_action();" CommandName=

Best way to stop a single person from creating multiple accounts

你离开我真会死。 提交于 2019-12-04 05:21:03
I'm creating a game currently and I want to limit one account per person. I have a lot of families that want to play and I can't think of a way to decipher families from cheaters. The way I'm planning on doing it currently is checking cookies and sessions to see if any are set on that computer if they are then I know someone has already played from that account. Than I will check their IP against the IP's I have stored in my database (I am storing the registration IP for each account as well as the last IP they logged in from). If they don't match any of those I than check the Email they have

How to redirect the users to their id specific urls/landing pages after they log in?

半腔热情 提交于 2019-12-03 09:14:23
How to redirect the users to their id specific urls/landing pages after they log in? The redirected urls' query strings should show values associated with their ids (Primary key) stored in Mysql database. For instance, The corresponding values of "id" for 1st, 2nd 3rd and 4th users are 1, 2, 3 & 4 The logged pages / landing pages should look like the following urls respectively after the users are looged in successfully. www.anysite.com/anydirectory/user.php?id=1 www.anysite.com/anydirectory/user.php?id=2 www.anysite.com/anydirectory/user.php?id=3 www.anysite.com/anydirectory/user.php?id=4

Subdomains and Logins

情到浓时终转凉″ 提交于 2019-12-03 08:35:12
If you multiple subdomains e.g.: sub1.domain_name.com sub2.domain_name.com Is there a way to have a user be able to log into both of these without issues and double login issue? The platform is Python, Django. Without information regarding what platform you are using, it is difficult to say. If you use cookies to store authentication information, and you are using subdomains as you describe, then you can force the cookie to be issued for the highest level domain, e.g. domain_name.com. This will be accessable by both sub1 and sub2, and they could each use that for their authentication. EDIT: In