Hello:
ASP.NET's Forms Authentication facility (class FormsAuthentication,
<authorization> tags in Web.config, Application_AuthenticateRequest() in
Global.asax, GenericPrincipal, etc.) is very powerful, but it isn't strict
enough for my application.
The user of my web application must start at the Login page, and proceed
along one of several branches from the Login page. He should be able to
return to a previously visited page and take a different branch, but if he
jumps forward over a page (e.g. using a bookmark from a previous session),
that would be a violation.
Is there something in ASP.NET that facilitates this form of authentication,
or will I need to invent my own (e.g. using session variables)? 2 916
> The user of my web application must start at the Login page, and proceed along one of several branches from the Login page. He should be able to return to a previously visited page and take a different branch, but if he jumps forward over a page (e.g. using a bookmark from a previous session), that would be a violation.
Is there something in ASP.NET that facilitates this form of authentication, or will I need to invent my own (e.g. using session variables)?
Off the top of my head, it sounds like you want to use some combination of
Session variables and/or cookies. Probably both.
--
Peace & happy computing,
Mike Labosh, MCSD
"Mr. McKittrick, after very careful consideration, I have
come to the conclusion that this new system SUCKS."
-- General Barringer, "War Games"
This is not an authentication problem. You'll have to code to make sure
pages are accessed in the sequence you want.
Patrice
--
"honcho" <go****@nospam.com> a écrit dans le message de
news:1119961660.147acb6757888dc383d0085ef89d6c73@b ubbanews... Hello:
ASP.NET's Forms Authentication facility (class FormsAuthentication, <authorization> tags in Web.config, Application_AuthenticateRequest() in Global.asax, GenericPrincipal, etc.) is very powerful, but it isn't strict enough for my application.
The user of my web application must start at the Login page, and proceed along one of several branches from the Login page. He should be able to return to a previously visited page and take a different branch, but if he jumps forward over a page (e.g. using a bookmark from a previous session), that would be a violation.
Is there something in ASP.NET that facilitates this form of
authentication, or will I need to invent my own (e.g. using session variables)?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Billy Jacobs |
last post by:
I have a website which has both secure and non-secure
pages. I want to uses forms authentication. How do I
accomplish this?
Originally I had my web.config file in the root with Forms...
|
by: Kris van der Mast |
last post by:
Hi,
I've created a little site for my sports club. In the root folder there are
pages that are viewable by every anonymous user but at a certain subfolder
my administration pages should be...
|
by: Eric |
last post by:
I am trying to build an app where the stuff in the root directory is open to
all, but anything under the Restricted directory requires you to login and I
want to use Forms to do it. I'm having...
|
by: Anonieko Ramos |
last post by:
ASP.NET Forms Authentication Best Practices
Dr. Dobb's Journal February 2004
Protecting user information is critical
By Douglas Reilly
Douglas is the author of Designing Microsoft ASP.NET...
|
by: Justin |
last post by:
I am trying to password protect a subdirectory using forms authentication. I
am using the "Location" tag to specify the directory to be protected. The
login.aspx page is in the root directory of...
|
by: V. Jenks |
last post by:
Using forms authentication, can I control which pages
and/or directories a user would have access to or is that
only available with Windows authentication?
Thanks!
|
by: =?Utf-8?B?R3V1czEyMw==?= |
last post by:
Hi,
I created a web site on a remote server. To logon the user must enter a user
id and password. The site is uses Forms Authentication.
The web config file looks as follows:
...
|
by: Bjorn Sagbakken |
last post by:
In a web-application with login creds (user, pwd), these are checked against
a user table on a SQL server. On a positive validation I have saved the
userID, name, custno and role-settings in a...
|
by: Rory Becker |
last post by:
Having now created a Custom MembershipProvider that seems to work correctly
with my Logon and ChangePassword controls, I am, as they say, a happy bunny.
The next stange is to move on to the...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |