473,322 Members | 1,232 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Authentication mess

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)
Nov 19 '05 #1
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)

Nov 19 '05 #2
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)


Nov 19 '05 #3
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)
>
>


Nov 19 '05 #4
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)
>
>


Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
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. #...
1
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... ...
8
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...
9
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...
3
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...
5
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"...
4
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...
4
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...
3
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...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
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...
0
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...
0
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...
1
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)...
1
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...
1
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....
0
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...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.