Security :: Restrict A User After Perticular Visits?
Nov 26, 2010
i need a code for my web app where i want to restrict a user after...let say 10 visits....on the 11 th time when the user tries to login he/she gets a error messege denying login.maybe we can use session or cookies...but i dont want to limit..it with cookies i.e if he tries to enter after 30 days or so he is allow to login. what i raelly want is, a user has only 10 views after that he is unauthorized to login.
View 3 Replies
Similar Messages:
May 25, 2010
we have uploded multiple documents. i want to faclitate free user to download one of file.
If Free User want to download another file then i want to show message "Register now for download this file "
If User will complete the registration from then he can download multiple files.
View 2 Replies
Aug 23, 2010
i have 4 pages of website 2 pages are authorized to used by USER and 2 pages are restricted for useradmin can authorized to go all 4 pagesi need coding for Login window from which Admin/User Login
View 1 Replies
Jun 22, 2010
Can anyone explain how to make unique login in asp.net
<b>Problem:</b> If user is logged at a client machine and tries to login from other client machine at the same time, then he should be prompted that "You are already logged in, Do you want to continue?" on continue user should be logged out from other machine and logged in to current machine.
View 3 Replies
Mar 16, 2010
I gave an option to user to change password but the text boxes are taking - / @ (special characters). How to check at runtime that user may not enter these characters?
View 21 Replies
Aug 28, 2010
In my website, if one user registered from a computer, we have to allow that user to be able to access the site from that computer only. If he try to login from another system even in LAN, we have to deny the access.
View 5 Replies
Aug 26, 2010
I wish to log the user name and which page they visited.
Is there a quick way to do that in ASP.Net ?
View 3 Replies
Apr 8, 2010
I am developing a web application where I am capturing the count of the number of times a user has visited our website. The requirement is that I need to capture the visit count of each user to our site in the DB.
I am achieving this by incrementing the count in the session_start method and update the table with the count for that particular user.
Given below is the code in my Session_start method:
[code]....
View 5 Replies
Aug 20, 2010
I want to know which pages users visit, and I want to register them
View 2 Replies
Jun 11, 2013
i am developing one application in mvc my problem is after login it will redirect to some page if i copy url and paste it in another browser its showing error in application but i need to display home page?
how to solve this ?
View 1 Replies
Mar 25, 2011
My intention is to give the user a flexible user control on a master page that does the following:
When navigating, a child page will pass the URL (with querystring) and PageTitle to the user control. The user control will take those two parameters and insert them as a "breadcrumb" object at first index of a List<breadcrumb> collection
This part works fine through the use of a Repeater with a LinkButton contained in an ItemTemplate. The user sees each of the pages he has been visiting in descending order, the provided benefit is a quick way to re-open records they have recently modified or created.
The part I'm having trouble handling is what happens when the user clicks the LinkButton, which is that the child page adds a new reference to the URL at the beginning of the List<> collection and I cannot seem to control the behavior of removing the LinkButton before it gets re-created. What I've tried doing is:
List<>.RemoveAt(RepeaterCommandEventArgs.Item.ItemIndex);
Repeater1.Controls.Clear();
Repeater1.DataSource = List<>;
Repeater1.DataBind();
While that should work, my CreateBreadCrumb(string url, string title) function gets called by the child page before the UserControl detects the Repeater1_ItemCommand event, so in effect it appears that the wrong ItemIndex is being used for removal.
View 1 Replies
Aug 18, 2010
I'm writing a simple Intranet application using windows authentication. I want to restrict access to Safe/UCantSeeMe.aspx. I am aware of the AuthorizeAttribute, but this only works on methods. I also found a good post on doing this with the MVC pattern, but I'm not using MVC. This can be done with roles in forms based security. I read on MSDN that using windows based security means roles are based on groups, but it doesn't go into any detail. how can I restrict access to Safe/UCantSeeMe.aspx?
View 1 Replies
Oct 14, 2012
I want user to enter name in Arabic if the user enter in english it should give Message " Enter Message In Arabic " and same for English if user try to enter in arabic it should give a message "Enter Name in English" ...
View 1 Replies
Oct 29, 2012
how to restrict the other user if one works on the particular record.
i am having a table with the name tblProduct and i used to edit the records from the code behind using my website.
When one user login into the site and search for the particular products and edits the product and at the same time other user log in and try to edit the same product, i need to show the alert message, "the user (username) is already working on this. please wait for a while."
View 1 Replies
Nov 21, 2013
I have 2 types of users- administrator and students..
now whenever login...
a student can only add their their info, view other students' info and perform some other basic actions, and
an administrator can view the students' info, select & reject them for some particular criteria.
What can I do for these two types of users for control their activities??..
View 1 Replies
Jan 15, 2011
How to restrict user to do rating only once..i m using AjaxControlToolkit Rating Control i VB.NET !
View 1 Replies
Feb 15, 2011
i created some pages in asp.net. but i want to allow the users only if he is login. how to do that. is there any controls available for that one.
View 3 Replies
Jan 23, 2010
[Code]....
Trying to restrict access to folder but can't?
View 6 Replies
Mar 7, 2010
I am developing a website that has 2 roles of users.i have made 2 folders for each type of user's web pages. how to imply security so that 1 type of user could not see other user web pages.is thier any other way or i will have to check form the databse for credidentials every time the page is visited?Also let me know why do people put web pages in folders?i am not using sql membership and not even .net classes for role management.
View 7 Replies
Oct 13, 2010
I want to secure a particular set of files in a folder by role type. I have the following entry (See below)...I notice this doesn't work (I.e., it doesn't secure the file by Role Type.. anyone can access the file). I've read that I need to map the .WMV extension to the ASp.Net DLL.
[Code]....
View 10 Replies
Jun 2, 2010
How can i restrict sql injection in my code. How can i test that one whether SQL injections are applicable or not
View 4 Replies
Jan 26, 2011
How to restrict user to select not more than 10 asp.net checkboxes on button click event , if user select more than 10 checkboxes then alert box will pop up that you can not select more than 10 checkboxes?
View 2 Replies
Aug 2, 2010
I'm displaying a set of school names in a datalist... A user logins and see the list of school names where he can give rating for each school....Now the question is how can restrict the user to give rating only once for each particular school...(i' hav used ajax rating control..)..
View 3 Replies
May 12, 2010
I have just started to use asp.net mvc.
I have read this article about using ntlm authentication
[Code]....
it provides access to specific domain users
[Code]....
I want to restrict access to all my domain users only lets say
[Authorize(Domain="redmond")]
or do I do it via web.config
View 2 Replies
Mar 17, 2010
I have a security issue in my web application where user can enter malicious data/can change the page path directory. To avoid these i want to restrict the user by accessing/typing in the URL.
View 5 Replies