使用经典的asp登录和安全 [英] Log in and security with classic asp

查看:72
本文介绍了使用经典的asp登录和安全的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有人知道一个网站上有一个关于这个

主题的好教程。


我想做的是做一个日志在页面中,并确保我的所有

页面都在验证用户是否已登记,直到他或她退出。


可能有人想要在这个新闻组中给出一个例子吗?

感谢您的帮助!


BTW,我正在使用Access 2000和经典的ASP。


问候

Jan

解决方案



" Jan T. < My ******************** @ hotmail.comwrote in message

新闻:OK ********** **** @ TK2MSFTNGP02.phx.gbl ...


>我想知道是否有人知道一个网站上有一个很好的教程
主题。


我想做的是在登录页面,并确保我所有的

页面都验证用户是否已经进入直到他或她退出。


也许有人想在这个新闻组中举个例子吗?

感谢您的帮助!


BTW,我正在使用Access 2000和经典ASP。



你应该能够在这里找到足够的帮助:
http://msconline.maconstate.edu/tuto...SP /default.htm


特别注意数据库访问部分(使用OleDb提供程序)

和使用会话变量章节。 />

-

Mike Brind

MVP - ASP / ASP.NET


非常感谢。我现在已经阅读了大部分内容,但是仍然是

想知道如果系统足够安全,那么
?我的意思是,只需

检查会话

变量以验证它是否是有效用户?


我是asp的新手,所以在现在这样的时候,我有兴趣知道

什么

的机会是未经授权进入的地方可以贷款

人。

以及阻止未经授权进入的最佳方式。


感谢您的帮助或建议。


问候

Jan



" Mike Brind [MVP]" < pa ******* @ hotmail.comskrev i melding

新闻:e3 ************** @ TK2MSFTNGP02.phx.gbl ...


>

" Jan T." < My ******************** @ hotmail.comwrote in message

新闻:OK ********** **** @ TK2MSFTNGP02.phx.gbl ...


>>我想知道是否有人知道一个网站上有一个很好的教程主题。

我想要做的是,登录页面,并确保我的所有页面都验证用户是否已登记,直到他或她退出。

也许有人想在这个新闻组中举个例子吗?
感谢您的帮助!

顺便说一下,我正在使用Access 2000和经典ASP。



你应该能够在这里找到足够的帮助:
http://msconline.maconstate.edu/tuto...SP/default.htm


特别注意数据库访问部分(使用OleDb提供程序)

和使用会话变量章节。


-

Mike Brind

MVP - ASP / ASP.NET



是 - 检查会话变量就足够了。这是事实上的方法

进行身份验证。


有点候注,你提到你是ASP的新手。我没有

想法是什么情况导致你开始使用ASP,但是如果

你可以选择你可以学习的技术,你可能想要

考虑ASP.NET(这是微软取代经典ASP)。更多

可以在 www.asp.net/learn


-

Mike Brind

MVP - ASP / ASP.NET


Jan T. < My ******************** @ hotmail.comwrote in message

news:u6 ********** **** @ TK2MSFTNGP03.phx.gbl ...


非常感谢。我现在已经阅读了大部分内容,但是仍然是

想知道如果系统足够安全,那么
?我的意思是,只需

检查会话

变量以验证它是否是有效用户?


我是asp的新手,所以在现在这样的时候,我有兴趣知道

什么

的机会是未经授权进入的地方是为了获得贷款

in people。

以及阻止未经授权进入的最佳方式。


感谢您的帮助或建议。


问候

Jan



" Mike Brind [MVP]" < pa ******* @ hotmail.comskrev i melding

新闻:e3 ************** @ TK2MSFTNGP02.phx.gbl ...


>>
" Jan T." < My ******************** @ hotmail.comwrote in message
新闻:OK ************** @ TK2MSFTNGP02.phx.gbl ...


>>>我想知道是否有人知道有一个关于此的好教程的网站
主题。

我想要做的是登录页面,并确保我的所有页面都验证用户是否已经登录,直到他或她退出。可能有人想在这个新闻组中举个例子吗?
感谢您的帮助!

BTW,我使用的是Access 2000和经典的ASP 。


你应该能够在这里找到足够的帮助:
http://msconline.maconstate.edu/tuto...SP/default.htm

特别注意数据库访问部分(使用OleDb提供程序)
和使用会话变量章节。

-
Mike Brind
MVP - ASP / ASP.NET



I wonder if anybody know a web site that has a good tutorial on this
subject.

What I want to do, is make a log in Page, and make sure that all my
pages is validating that the user is loged in until he or she logs out.

May be someone would like to give an example in this news group too?
Thank you for any help!

BTW, I am using Access 2000 and classic ASP.

Regards
Jan

解决方案


"Jan T." <My********************@hotmail.comwrote in message
news:OK**************@TK2MSFTNGP02.phx.gbl...

>I wonder if anybody know a web site that has a good tutorial on this
subject.

What I want to do, is make a log in Page, and make sure that all my
pages is validating that the user is loged in until he or she logs out.

May be someone would like to give an example in this news group too?
Thank you for any help!

BTW, I am using Access 2000 and classic ASP.

You should be able to find enough help here:
http://msconline.maconstate.edu/tuto...SP/default.htm

Look specifically at the Database Access section (use the OleDb Provider)
and the Using Session Variables chapter.

--
Mike Brind
MVP - ASP/ASP.NET


Thank you very much. I have been reading most of it by now, but are still
wondering
if the system is safe enough? What I mean is, will it be enough to just
check the session
variable to verify that it is a valid user?

I am a newbie with asp, so in such times as now, I am interested to know
what the
chances are for unauthorized to get in where it should only be for loged in
persons.
And the best way to stop unauthorized to get in.

Thank you for any help or suggestions.

Regards
Jan


"Mike Brind [MVP]" <pa*******@hotmail.comskrev i melding
news:e3**************@TK2MSFTNGP02.phx.gbl...

>
"Jan T." <My********************@hotmail.comwrote in message
news:OK**************@TK2MSFTNGP02.phx.gbl...

>>I wonder if anybody know a web site that has a good tutorial on this
subject.

What I want to do, is make a log in Page, and make sure that all my
pages is validating that the user is loged in until he or she logs out.

May be someone would like to give an example in this news group too?
Thank you for any help!

BTW, I am using Access 2000 and classic ASP.


You should be able to find enough help here:
http://msconline.maconstate.edu/tuto...SP/default.htm

Look specifically at the Database Access section (use the OleDb Provider)
and the Using Session Variables chapter.

--
Mike Brind
MVP - ASP/ASP.NET



Yes - checking the session variable is enough. That is the defacto method
for authentication.

On a bit of a side note, you mention that you are new to ASP. I have no
idea what the circumstances are that led you to beginning with ASP, but if
you have a choice in the technology you can learn, you might want to
consider ASP.NET (which is Microsoft''s replacement for "classic ASP"). More
can be found at www.asp.net/learn

--
Mike Brind
MVP - ASP/ASP.NET

"Jan T." <My********************@hotmail.comwrote in message
news:u6**************@TK2MSFTNGP03.phx.gbl...

Thank you very much. I have been reading most of it by now, but are still
wondering
if the system is safe enough? What I mean is, will it be enough to just
check the session
variable to verify that it is a valid user?

I am a newbie with asp, so in such times as now, I am interested to know
what the
chances are for unauthorized to get in where it should only be for loged
in persons.
And the best way to stop unauthorized to get in.

Thank you for any help or suggestions.

Regards
Jan


"Mike Brind [MVP]" <pa*******@hotmail.comskrev i melding
news:e3**************@TK2MSFTNGP02.phx.gbl...

>>
"Jan T." <My********************@hotmail.comwrote in message
news:OK**************@TK2MSFTNGP02.phx.gbl...

>>>I wonder if anybody know a web site that has a good tutorial on this
subject.

What I want to do, is make a log in Page, and make sure that all my
pages is validating that the user is loged in until he or she logs out.

May be someone would like to give an example in this news group too?
Thank you for any help!

BTW, I am using Access 2000 and classic ASP.


You should be able to find enough help here:
http://msconline.maconstate.edu/tuto...SP/default.htm

Look specifically at the Database Access section (use the OleDb Provider)
and the Using Session Variables chapter.

--
Mike Brind
MVP - ASP/ASP.NET




这篇关于使用经典的asp登录和安全的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆