Security :: Restrict And Allow User To Pages Of Website?
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
Similar Messages:
Nov 26, 2010
if we open any website and from File menu of the internet explorer we can save that page on the client pc
and it will save page images ,stylesheet file and scripting file on the client side. But some web site wont allow to save their web pages
just i want to know how to implement that feature in the aspx pages
and how to restrict the client for saving web pages layout and images into their machines.
View 5 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
Nov 1, 2010
I need to restrict access to my website by physical PC. When a user signs up I want to be able to restrict access to one machine for that account so it cannot be shared round, if, for example, somebody else in the same office wanted to access the system on their PC they would need a seperate sign in.
I have done some investigation and I "think" the only way is installing an ActiveX component (which isn't an issue that is restricts to IE only) and then read the users MAC address. Am I trying to over complicate things or is that the only way? I realise that MACS can be spoofed but this is not much of an issue.
View 4 Replies
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
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
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
Sep 8, 2010
I have a site We have different Pages under one folder. we have stored these pages information in a database table with pageid. Then we have User access table. there we store userid and pageid , for which pages user has access. Now I need to provide access to that pages only .
View 8 Replies
Apr 13, 2010
How to get that how many pages accesses by a user in a website.
Actually, rather then putting code in each page I want some generalized method/technique that if user Logged to a website and during his Login period what was his activity and which page(s) he accesed.
Note:
1. My website pages are under MasterPage.
2. MasterPage has a MasterMenu.
3. For singlePage activity I used Page.GetType.Name
View 2 Replies
Nov 19, 2010
I'm using the built-in membership controls and classes to manage authorization and authentication in my app. Here's what I want to do: If the user is in "Manager" role, I want to send him/her to the manager page no matter where he/she came from. If the user is in "Supervisor" role, I want to send him/her to supervisor page no matter where he/she came from. However, if the user is not in any role, just a registered member, I want to send him/her back to where he/she came from as stated in ReturnUrl. If no, ReturnUrl is specified, I will send him/her to the home page.
On my login page, I'm using the Login server control but in my code behind, there's no method wired to the control because the control takes care of everything. I assume I need to add a method and wire it to the submit button, is that right? If so, I'll have to really handle the login event which means I'll need more info about how to do that.
View 6 Replies
Feb 1, 2010
I have following situation: A web with a defaults.aspx & login.aspx 2 folders ADMIN & MASTER, in the ADMIN folder is a content page admin.aspx who's master is in the master folder.when I place, following web.config in the ADMIN folder he still is showing the admin.aspx for all users, when I place a new standalone aspx file in that directory the access is denied.Why is de content file not secured ? Must I secure the master file so do i need a new masterfile for each rol, user then...
in that directory<system.web>
<authorization>
<allow
[code]....
View 4 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
Jan 13, 2011
i need some lessons in how to create admin folder and pages to add user ,content ,authentication, etc
View 2 Replies
Oct 19, 2010
I am having an issue, with the membership and form authentication. I am having a problem where when an logged in user types a url they can see the content of pages they're not suppose to. When the user tries to click on the screen or any ajax fires they are redirected to the main page. What is going on? I have all the items setup in the webconfig properly just wondering what is happening. Also I don't want to use a redirect solution for each page since that is what I thought webconfig was setup for.
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
Jan 30, 2011
suppose we have two or mor ethan two website .All site ask username and password.Their database is located differnent places.I want to know how i can do this thing that user who authenticated from any site do not need to authenticate again he will pass directly.No
authentication nothing like gmail .user who is login do not need to login again for useing orkut he directly go to that site and user of orkut directly go to gmail .In these case it do not ask authentication ike username and password!
View 3 Replies
Jan 17, 2010
How can i prevent users from getting the list of files that exist in my website?
For example when users type on the address bar the WebsiteAddress+/DirectoryToSearch/ they get the list of files in that directory, without getting any permission denied error
Is there any setting in asp.net that am i missing?
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 26, 2011
i implement user login in my website itself and i dont use membership of asp.net
any user in my website have the apportunity to website for 5 times .after 5 times if still user is not logged in website ,user can after 15 minutes to be able to try again.
how can i do this walk on my website?
is below code security?
[Code]....
View 1 Replies
Apr 8, 2010
i want to interlink between 2 applications of mine.. suppose a user has logged in one of my application and me store his username and password in cookies...nd nw i want to use those values in the cookies to log-in in other website without entering the username and password again for the other website. i mean to i want to skip the login page of other website.
protected void btnclick_Click(object sender, EventArgs e)
{
HttpCookie username = new HttpCookie("UserName", "a");
HttpCookie password = new HttpCookie("Password", "a");
Response.Cookies.Add(username);
Response.Cookies.Add(password);
Response.Cookies["UserName"].Expires = DateTime.Now.AddHours(1);
Response.Cookies["Password"].Expires = DateTime.Now.AddHours(1);
}
this is the code for storing values in cookie on click of a button. nw in 2nd application on page load i am using this code.
HttpCookie userName = Request.Cookies.Get("UserName");
HttpCookie password = Request.Cookies.Get("Password");
if (userName != null && password != null)
{
if (Membership.ValidateUser(userName.Value, password.Value))
{
FormsAuthentication.RedirectFromLoginPage(userName.Value, false);
}
}
here m able to get the username nd password but don't how to validate that username and password so that i can skip the login page of this application..m not sure about the code in BOLD above if its rite or worng.. and for Login i am using ASP login Control
in both applications.
View 3 Replies
Dec 1, 2010
I have just put my first ASP.Net site live on the internet but im having problems with my login. When i try to login my sit is throwing an error.
The SSE Provider did not find the database file specified in the connection string. At the configured trust level (below High trust level), the SSE provider can not automatically create the database file.
I have run my script from visual studio so the profiles are there but i cant login?
View 4 Replies
Sep 30, 2010
I there a way to get the user id that they signed on to the computer with from web site project, without changing IIS so they will have to login? This will be interanet and remote internate users.
View 3 Replies