Web Forms :: Restrict User To Open Other Webpages Without Authentication?
May 7, 2015
I tried to follow the examples give in :
[URL]
So in my web.config i typed this :
<authentication mode="Forms">
<forms loginUrl="Login" defaultUrl="DailyLog" timeout="2880" cookieless="UseCookies" />
</authentication>
when i browse my application through local host , it shows Login screen , also validating the credentials , but without entering any credentials if i change my Url at login page from :
http://localhost:49702/Login
to
http://localhost:49702/DailyLog
it goes to DailyLog without confirming the login ...
in Login Screen on Submit button Click event i have done this :
View 1 Replies
Similar Messages:
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 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 5, 2011
What is the reason for opening a named pipe only once per machine? .I mean what is the reason behind this restriction?
View 1 Replies
Mar 4, 2010
I want to determine if the following could be implememted using a sitemap and menu control.
I have implemented the selection and navigation using tables and urls.
Each page request the querystring data, get the sql data and create the required selection and navigation urls.
Customers.aspx contains a list of customers with a url for each customer.
[code]....
Can I use a sitemap and menu or tree to provide the back navigation described in the scenario above.
Is it possible to modify the url for one or more sitemapnodes based on a user selection on a page?
Is it possible to add/remove sitemapnodes based on a user selection on a menu?
View 1 Replies
Feb 8, 2011
I have a database which has form authentication tables for an website [let say website A], now I have attached a new website [Website B] to the same database, in this website [Website B] also I have to provide login/authentication which would be separate from the website A authentication system. So I want to have separate table for the users of new website. Specification:
[code]....
will there be any open source membership provider like we have .NET membership provider [form authentication].
View 2 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 26, 2010
If a user use back button of a browser and make any change on that webform then how can i restrict him to do so.I my case its a quiz and i don't wanna allow user to change his answer
View 3 Replies
Jan 3, 2010
i am making a webform for university students to register projects.there is a dropdown list which will ask how many students have participated, suppose student select 3 students, now my question is how can i restrict user to enter only one students data,i want he/she should fill all three students data than the submit button should enabled.
View 5 Replies
Aug 5, 2010
I am using a listbox
<asp:ListBox ID="ListBox1" runat="server" DataSourceID="_dsOccTypes" DataTextField="ListDisplay"
DataValueField="ListValue" Rows="6" SelectionMode="Multiple" Width="450"></asp:ListBox>
There are 10 options in the list box but I want the user only to select a maximum of 4. If user selects more then 4 then I want to display a message to user that they cannot select more then 4 options.
How can I achieve the above using some custom validator control?
View 2 Replies
Sep 1, 2010
What is the best way to restrict the user from going to the previous page after logging out?
View 2 Replies
Jan 11, 2012
I have 2 textboxes with calender extenders binded. One is the start date.. Once user selects the start date the same date should not be selected for end date.. How can i restrict user?
View 1 Replies
Jan 29, 2010
once i login using forms authentication, how do i retrieve user name on other webpages for secuirity reasons.
I login in with 'a' and keep getting my windows login with this code?
username = Request.LogonUserIdentity.Name
username = HttpContext.Current.User.Identity.Name
I cant get login name?
View 2 Replies
Oct 21, 2010
I have a file upload control in which i want to restricr the users not to upload more than 1mb file. Is it possible using custom validator or any other code. I want to raise validation before any postback happends.
View 2 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
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 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 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 7, 2015
i develope asp.net web site based on users authentication.
How can i promiss that user who logins to the site and closes and explorer, could reopen it and be connected without insert his user & password again.
View 1 Replies
May 28, 2010
I am using FileUpload control to facilitate Image file upload on my website. I want to restrict a user to upload only Image file. I am using
if (fupFirmLogo.PostedFile.ContentType == "image/Jpeg")
{
}
to check if the file is a image or not. I want to allow all image extensions like PNG, GiF, Jpeg, tif , BMP etc. How should I do it.
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 16, 2010
I want to restrict the user in toolbar search by not allowing him/her using Some Special Characters like
('/','>','<','|').
$("#tblFundComp").bind("keydown",function(e)
{
if(e.keyCode >=48 && e.keyCode <=57 ) [code].....
I have placed this piece of code after before search function. But this does not work
View 1 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