Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to Prohibite to view specific URL(low level security question)

0 views
Skip to first unread message

Eugene

unread,
May 3, 2002, 7:45:34 AM5/3/02
to
Hi Wizards,
I have a two ASPX pages and I want to be able restrict visitors access to
view second page (just by typing correct URL for the second page) if they
didn't visit first before and successfully log in....I'm thinking about to
use cookie for this , but may be ther is something more consistent and
secure.

Any advices greatly appreciated

Eugene.


Matt

unread,
May 3, 2002, 10:50:43 AM5/3/02
to
Eugene,

I would recommend using Forms Authentication. However, that may be overkill
if the scope of your application is small. (actually, it is not difficult
to implement).

Good tutorial from the Rolla, MO boys:
http://www.4guysfromrolla.com/webtech/110701-1.shtml

On the other hand, using a cookie as you suggested will certainly work.
Just set a cookie for whatever timeframe you require. If they exceed the
time, boot them back to the login. (Actually this is the same thing that
Forms Authentication does, but you would be doing a much more simplified
version)

HTH
Matt
DotN...@merk.spamtrail.com


"Eugene" <eugen...@rogers.com> wrote in message
news:yLuA8.18759$zk1....@news01.bloor.is.net.cable.rogers.com...

Eugene

unread,
May 5, 2002, 10:45:09 AM5/5/02
to
Thanks Matt,
I found as well I can use Application["Name"]=value in the aspx1 and check
this value at the begin of the aspx2
when i load page first time only and change the value of this
Application["Name"]=value in the end of aspx2, works as a charm....

Regards,
Eugene.


"Eugene" <eugen...@rogers.com> wrote in message
news:yLuA8.18759$zk1....@news01.bloor.is.net.cable.rogers.com...

0 new messages