Security :: Used Security In Login Page Which Restricts All Users Who Have Not Logged In To All Pages?

Jun 23, 2010

i used security in login page which restricts all users who have not logged in to all pages. I need to restrict specific users to specific pages. I'm not using AspSqlService provider. So i cannot create roles and restrict automatically. And the pictures i use in login page are not visible @ runtime.

View 1 Replies


Similar Messages:

Security :: Not To Show The Login Page When Users Are Logged In?

Apr 11, 2010

I have a Login.aspx in my application.

After users logged in, if they press "back" in the browser, it goes to the Login.aspx page.

But I don't want to show users the Login.aspx page when they are logged in. how to restrict users to see the login.aspx page if they are logged in??

I am using sql role based membership provider and standard login control provided by Visual web developer 2008.

View 7 Replies

Security :: Keep The Pages From Time Out When Users Are Logged In?

Mar 6, 2011

How do I keep the pages from time out when users are logged in?

View 3 Replies

Security :: Re-direct Logged In Users To Another Web Page In Visual Studio?

Apr 1, 2010

In the web.config file i have put some code in so that when users log in they will be re-directed to another part of the website which only registered users can access. for the admin part only the admin can log in and it takes him to the admin section and that works fine. it is only this that is causing me problems.

the code i inserted for which the user needs to be diverted to is:

<location path ="UserLoggedInFindUs.aspx">
<system.web>
<authorization>
<deny users ="?"/>

[Code]....

View 11 Replies

Security :: Redirecting Users From Forgot Password Page To Login Page?

Feb 7, 2011

I have created a forgot password page with a PasswordRecovery control in it.

<asp:PasswordRecovery ID="PasswordRecovery1" runat="server"
BorderColor="#E6E2D8" BorderPadding="4" BorderStyle="Solid" BorderWidth="1px"
Font-Names="Verdana" Font-Size="0.8em" Height="210px"
onsendingmail="PasswordRecovery1_SendingMail" Width="491px">

I want to redirect the user back to the login.aspx page once the user clicks the Forgot Password button.

View 2 Replies

Security :: Best Way To Identify All Users Currently Logged In?

Feb 10, 2011

I know how to identify the current user during a specific browsing session and can thus control the data, etc, made visible to that individual user. I also know how to find out how many users logged in within the recent past, using:

Membership.GetNumberOfUsersOnline()
.... which I believe calculates the number of users who have logged in within the past 15 minutes. However, I would like to know if there is any way to identify all the users who are logged in at a point in time. Is this possible?

View 9 Replies

Security :: Getting A Unique ID For Logged In Users?

Mar 8, 2011

I am using ASP.Net Forms based security with the login control. On my site a user will make a number of selections that will be written to a database. Is their a unique user id that I can get from the AspNetSqlProvider that I can use to id users in my database? When a user logs back in after being away I want to be able to retireve the users information using this id.

View 7 Replies

Security :: Securing URL For Logged In Users?

Oct 26, 2010

I need something to secure my PDF files link ...

i have a page like http......../folder/userName.pdf

i need to to encrypt the file name ( i put it "login userName" ) ...

how do i let logged in users download their pdf files without knowing the URL above , for security reasons only ...

View 4 Replies

Security :: Listing Logged In Users - VB.NET Membership?

Jul 2, 2010

I used [URL] as a guide and have something configured to show me the users which are logged into the system. This uses the aspnet_Users.LastActivityDate column to see when someone last did something on the system. It also uses the userIsOnlineTimeWindow within the web.config to determine whether a user is online or not.

But because of this userIsOnlineTimeWindow limitation of .NET, even when someone logs out of the system or closes their browser window, the system still sees them as being online. Also, if they are on a page and don't do anything for 10 minutes, the system will show them offline until they refresh their page or go to another page. know of a better, more real-time way to tracking users which are logged in, logged out, etc?

I don't want to wait 10 minutes for the system to show that a user is offline and also if there's 10 minutes of inactivity, it shows them being offline.

View 1 Replies

Security :: Inactive Users Being Logged Out Too Quickly?

Dec 5, 2010

I have a site where the admin can log in to make changes to his content, but while making changes (using a specific asp.net control) with no page loads or callbacks while editing, the user is sometimes being logged out.

I want to increase the time it takes for the system to wait before logging-out inactive users.

I'm using the standard membership provider.

View 1 Replies

Security :: Assuming Identity Of Other Logged In Users In Web Application

Nov 1, 2010

I have a web application with a login form. A user enters a user name and password. If they exist in the database the user is authenticated using these two lines:
[Code]....

The problem is that when a user logs in at first he is logged in as himself. When navigating on the web application for a while the user assumes the identity of another logged in user. This happens all the time. In my web.config the authentication mode looks like this:
[Code]....

The site does not use ASP.NET session variables. Instead each page initializes a Singleton class, which stores itself in a static class variable, always accessing the users data already read from the database. The Singleton implementation is:
[Code]....

Could the problem with assuming another logged in users "session" be related to static classes in my application or a Forms Authentication configuration or a configuration in IIS (e.g. is it possible for users to have their own process?).

View 12 Replies

Security :: Accessing Logged In Users Details From MasterPage?

Sep 14, 2010

I have designed a navigation structure that is customisable from within my application and linked to the users role.

So I can restrict what menu items a user gets based on their role.

I have managed to do this quite well using SQL Tables and an ASP.Net Menu.

I can get it to only show the menuitems that are marked active and I have created an Stored procedure to get the menu items for a particular role.

Where I am struggling is getting the Logged On Users Roleid to pass it to the Stored Procedure.

I can get it using a regular aspx page but my menu is on my masterpage and I do not want to have to code it in each and every page.

I even tried to do it with a user-control but same happens. It seems that the User class is just not available when in a masterpage.

how I can pass the roleid from a Class or something or from the page to the masterpage?

View 2 Replies

Security :: Forms Authentication - Users Logged Out Before Cookie Expiration?

Jun 16, 2010

For some reason my users are logged out of the system every 10-15 minutes or so...regardless of the configuration below....am I missing something?

[code]....

View 1 Replies

Security :: Redirect Logged In Users To Another Webpage In Visual Studio?

Apr 2, 2010

In the web.config file i have put some code in so that when users log in they will be re-directed to another part of the website which only registered users can access. for the admin part only the admin can log in and it takes him to the admin section and that works fine. it is only this that is causing me problems.

the code i inserted for which the user needs to be diverted to is:

<location path ="UserLoggedInFindUs.aspx">
<system.web>
<authorization>
<deny users ="?"/>

[Code]....

View 2 Replies

Security :: Login A User From .NET Application And Keep It Logged In ASP?

Mar 11, 2010

We are developing for a customer a series of .NET intranet applications currentlydeveloped in ASP. However we would like to avoid the users the annoyance of having of login twice when they pass from one .NET application to an ASP one, Is there any way to export the session data from one application to the other?

View 1 Replies

Security :: How To Make Login Control Allow Users To Login By Either Username Or Email Address

Oct 12, 2010

how to make login control allow users to login by either username or email address

View 1 Replies

Security :: ARR Login Fail But When Users Remove All Cookies And Session Data The Login Works Again

Sep 27, 2010

I have two application (one of this is mojo portal): [URL] for some users when they login into "app" then the login in "mojo" doesn't work and viceversa. I've set the machinekey into web.config file. When the users remove all cookies and session data the login works again. The two application are into a Web Farm. Should be ARR the problem?

View 2 Replies

Security :: Membership And Form Authentication / Logged In user Can See Content Of Pages They're not Suppose To?

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

Security :: Deny Users To Some Web Pages?

Sep 29, 2010

i have a website having a couple of pages,i'd like to allow all users to be able to browse some pages and deny them some web pages.I know it's something to do with creating an authorization tag and adding some allow or deny user,but i have no idea how to implement it.

View 4 Replies

Security :: CAC Login To Web App Without Users Entering ID/PW?

Jan 10, 2010

how to write/use/implement a script that will allow users to enter a web application by clicking a button rather than entering their ID/PW? Seems like a lot of terminology around, SSO, Blind logon, yet all seem to be doable with an ASP script -

Web App contains detailed security for users, not all users are on Win AD, so that is not an option., I'm told (?) Do I need to use a spreadsheet to validate users access to the application, ?

Script that would pass "cookie" info and allow users to enter app without ID/PW. We have a custom logon.asp page the is using forms.

View 1 Replies

Security :: Asp Login With Multiple Users?

Jun 25, 2010

I have an asp login control that uses the standard aspnet database structure.I am using my own user identification system to identify a user based on login values that are not in the aspnet database and setting the user's aspnet database login to a universal login user and password.this works fine and I am able to test this by having one machine log in as "User 1" and another login as "User 2" but I am wondering if there is a limit to the number of user's that can be assigned to one username and password in the aspnet database for website access?Will the system reach the max number of user's in the aspnet database?

View 2 Replies

Security :: Give Access For Web Pages Only For Particular Users Only To Certain Tabs?

Mar 22, 2010

In my web application i have 8 screens such as page1.aspx, page2.aspx, page3.aspx........Page8.aspx. I have created user Settings Web Form where the admin Creates username and password for users with access only for particular pages. I have used check boxes to select their accessibility while creating user setting. How can i limit the access of the users only to certain tabs.(All these pages are in the tabs).

View 5 Replies

Security :: Prevent Unauthenticated Users From Seeing Non .Net Pages On Site?

Apr 9, 2010

I have a folder within my website called 'ProtectedPages' which contains pages which users can only see if they have logged in (MyAccount.aspx etc). If they bookmark that page and try to go to it without logging-in, they are immediately bounced to my login page.However, if I have text files, images etc. in there, then it seems users can get to these fine without the need to login - all they need is the URL. For example, I could send the URL http://mysite.com/ProtectedPages/MyAccount.aspx to a friend and he wouldn't be able to access it until he had logged in. However, I could send himttp://mysite.com/ProtectedPages/ATextDocument.txt and it would show it to him without any problems.How would I go about protecting ALL files within this folder? I have a web.config file within the ProtectedPages folder which just has this information in it (I don't want TrainingAdministrator's to have access to that folder at all)

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>

[code]...

View 7 Replies

Security :: Suddenly IE Users Cannot Login To Website

Jan 23, 2011

asp.net 3.5 IIS7 Hosted on Windows Server 2008 (virtual machine)

I have a website which have been running for about a year without any problems. Users have been able to login etc, but now I get reports about users not able to login while using Internet Explorer. Users using other internet browsers like FireFox, Chrome etc have no trouble logging in.

The website are using the standard Forms authentication.

Also lately another website has been setup in IIS7, but these sites are using application pool. I've stopped this webapplication in IIS, but that doesn't have any effect on my problem

I see that Windows Update have failed to install a lot of patches lately, not sure if that is related to this problem. But some of the windows patches are security patches.

View 5 Replies

Security :: Allow Users To Register At Site And Login?

Feb 25, 2010

I'm at the point where I want to allow users to register at my site and then allow users to login, so I am trying to get a feel for how everyone is handling this use case.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved