When we follow the Form Authentication, how can we
a) force to the login page if an intruder types the querystring (for page A)
on the browser address bar directly?
b) after login in, redirect to the requested page (Page A) 4 916
This functionality comes standard with Forms Authentication. Simply turn on
Forms Authentication and it should work exactly like that.
--
I hope this helps,
Steve C. Orr, MCSD, MVP http://SteveOrr.net
"rkbnair" <rk*****@discussions.microsoft.com> wrote in message
news:97**********************************@microsof t.com... When we follow the Form Authentication, how can we
a) force to the login page if an intruder types the querystring (for page A) on the browser address bar directly?
b) after login in, redirect to the requested page (Page A)
Is there a sample piece of code available? I tried all possible options and
it des not work that way.
"Steve C. Orr [MVP, MCSD]" wrote: This functionality comes standard with Forms Authentication. Simply turn on Forms Authentication and it should work exactly like that.
-- I hope this helps, Steve C. Orr, MCSD, MVP http://SteveOrr.net
"rkbnair" <rk*****@discussions.microsoft.com> wrote in message news:97**********************************@microsof t.com... When we follow the Form Authentication, how can we
a) force to the login page if an intruder types the querystring (for page A) on the browser address bar directly?
b) after login in, redirect to the requested page (Page A)
Yes here is some sample code: http://www.dotnetbips.com/displayarticle.aspx?id=9
--
I hope this helps,
Steve C. Orr, MCSD, MVP http://SteveOrr.net
"rkbnair" <rk*****@discussions.microsoft.com> wrote in message
news:F3**********************************@microsof t.com... Is there a sample piece of code available? I tried all possible options and it des not work that way.
"Steve C. Orr [MVP, MCSD]" wrote:
This functionality comes standard with Forms Authentication. Simply turn on Forms Authentication and it should work exactly like that.
-- I hope this helps, Steve C. Orr, MCSD, MVP http://SteveOrr.net
"rkbnair" <rk*****@discussions.microsoft.com> wrote in message news:97**********************************@microsof t.com... > When we follow the Form Authentication, how can we > > a) force to the login page if an intruder types the querystring (for > page > A) > on the browser address bar directly? > > b) after login in, redirect to the requested page (Page A) > >
I'm sorry to bother you. Do you have a sample c# code.
I downloaded the sample which you told me, and it is giving various errors.
"Steve C. Orr [MVP, MCSD]" wrote: Yes here is some sample code: http://www.dotnetbips.com/displayarticle.aspx?id=9
-- I hope this helps, Steve C. Orr, MCSD, MVP http://SteveOrr.net
"rkbnair" <rk*****@discussions.microsoft.com> wrote in message news:F3**********************************@microsof t.com... Is there a sample piece of code available? I tried all possible options and it des not work that way.
"Steve C. Orr [MVP, MCSD]" wrote:
This functionality comes standard with Forms Authentication. Simply turn on Forms Authentication and it should work exactly like that.
-- I hope this helps, Steve C. Orr, MCSD, MVP http://SteveOrr.net
"rkbnair" <rk*****@discussions.microsoft.com> wrote in message news:97**********************************@microsof t.com... > When we follow the Form Authentication, how can we > > a) force to the login page if an intruder types the querystring (for > page > A) > on the browser address bar directly? > > b) after login in, redirect to the requested page (Page A) > > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Michael Foord |
last post by:
#!/usr/bin/python -u
# 15-09-04
# v1.0.0
# auth_example.py
# A simple script manually demonstrating basic authentication.
# Copyright Michael Foord
# Free to use, modify and relicense.
#...
|
by: Brian Beck |
last post by:
After a bit of searching I haven't been able to find a definite resource
for Kerberos authentication from Python. Any help would be appreciated.
Here's what I've found...
...
|
by: Bob Everland |
last post by:
I have an application that is ISAPI and the only way to
secure it is through NT permissions. I need to have a way
to login to windows authentication so that when I get to
the ISAPI application no...
|
by: Tom B |
last post by:
In my web.config file I've specified Windows for the authentication, in IIS
I've set it to Integrated Authentication.
But my SQL connection is still showing Anonymous.
Is there somewhere else I...
|
by: Stu Lock |
last post by:
Hi,
Is there a way of requiring a log in for individual asp.net pages rather
than securing a entire directory. I have a web app where there are 100+
pages but only 2 need to be password...
|
by: darrel |
last post by:
I'm trying to set up a usercontrol that I can put on specific pages to
authenticate people via their network login on our intranet. I have this in
the config file:
<authentication mode="Windows"...
|
by: tshad |
last post by:
I have a logon page that is getting the previous page in its return URL
("logon.aspx?returnURL=A.aspx") where A.aspx is the page that called B.aspx.
It should have B.aspx.
I am calling B.aspx...
|
by: stjulian |
last post by:
I have seen on many websites the use of some sort of program to generate a
random character string distorted and warped with lines making the resulting
graphic ideally only human readable.
The...
|
by: kpg |
last post by:
ASP.NET 2.0
I have an unusual situation dealing with forms authentication,
not doubt brought on by how I have structured the application.
The setup:
Users enter the site from one of several...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |