473,405 Members | 2,272 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,405 software developers and data experts.

Web Pages and security

HI,
In my web application I have 2 webforms : login.aspx and
webform1.aspx
the login form redirect to the webform1.
I want to avoid that anybody, typing the address directly
with the webform1 page, may skip the authenthication form.
Which security policy ASP.NET allows to use?
Thanks,
Fabrizio
Nov 15 '05 #1
3 1004
Fabrizio,

you can allways use the old ASP method of adding a session value that
indicates the user did a succesful login and check for its exsistance in the
second page.

Picho

"Fabrizio" <fm******@libero.it> wrote in message
news:01****************************@phx.gbl...
HI,
In my web application I have 2 webforms : login.aspx and
webform1.aspx
the login form redirect to the webform1.
I want to avoid that anybody, typing the address directly
with the webform1 page, may skip the authenthication form.
Which security policy ASP.NET allows to use?
Thanks,
Fabrizio

Nov 15 '05 #2

"Fabrizio" <fm******@libero.it> wrote in message
news:01****************************@phx.gbl...
HI,
In my web application I have 2 webforms : login.aspx and
webform1.aspx
the login form redirect to the webform1.
I want to avoid that anybody, typing the address directly
with the webform1 page, may skip the authenthication form.
Which security policy ASP.NET allows to use?
Thanks,
Fabrizio


ASP.NET forms security (look it up on the web) allows you to do this
automatically.. If they try and hit the webform1 page they'll be redirected
to the login page.

Simon.
Nov 15 '05 #3
If you have a login page, Forms Authentication would be possible and secure.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Fabrizio" <fm******@libero.it> wrote in message
news:01****************************@phx.gbl...
HI,
In my web application I have 2 webforms : login.aspx and
webform1.aspx
the login form redirect to the webform1.
I want to avoid that anybody, typing the address directly
with the webform1 page, may skip the authenthication form.
Which security policy ASP.NET allows to use?
Thanks,
Fabrizio

Nov 15 '05 #4

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

Similar topics

10
by: Kenny Ashton | last post by:
Hi all Can anyone tell me the best way to set permissions to allow an ASP program to write new Html pages to my site's root folder, without chancing users also being able to write to the root....
7
by: PaulThomas | last post by:
I am fighting with XP-Pro and VS.Net trying to allow some of the pages in my application to be accessable by 'all' I am using <authentication mode="Forms" /> and if I Login - everything works...
2
by: Brian Bischof | last post by:
I've spent the past three hours struggling with this one and Googled the hell out of it. Please help! I ran IISLockdown for another problem and it trashed IIS. ASP pages wouldn't run at all. So...
4
by: ferg | last post by:
I've checked all the FAQs and help - spent a couple of hours on this now and it's really bugging me. I've got Moin 1.3.5 installed on IIS 5.0. I can view and edit pages without any problems, but...
3
by: Lyle Fairfield | last post by:
In a recent thread there has been discussion about Data Access Pages. It has been suggested that they are not permitted on many or most secure sites. Perhaps, that it is so, although I know of no...
10
by: Edlueze | last post by:
I am developing some Data Access Pages (DAP) using Microsoft Access 2003 on Microsoft Windows XP. When I try to open these pages (located on my C: drive), the display of the data access page is...
12
by: Sunny | last post by:
Hi, I need to download some web pages from a web server (most of them are not static html, but .asp pages). The content (I.e. the pure html) in the pages are not changed very often, so I'll...
4
by: MR. UNDERHILL | last post by:
I want to use forms authentication on my website. Looking at the documentation, I create a sample site for testing. One of my requirements is to ensure that SOME pages required an authenticated...
5
by: Chris Zoper | last post by:
Hello, Norton Internet Security blocks some of my ASP.NET pages. The pages are very 'normal' pages though. There is no 'dangerous' code in it or something like that. Also, the page is not in a...
1
by: Patrick Olurotimi Ige | last post by:
Can asp pages have the same security integration like aspx pages? For example integrating ASPX pages with Active directory etc...forms auth and windows auth? We have a scenario some developers...
0
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.