Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ASP網頁ÖÐÈ¡µÃµÇ陸µÄÓÃ戶Ãû

ÎÒµÄ網頁´ú碼為ASP語ÑÔ,驗證·½Ê½為ϵ統×Ô帶µÄWINDOW驗證ģʽ.

現ÔÚÎÒÈç¹ûÒªÔÚASP´ú碼ÖÐ獲È¡當Ç°µÄµÇÈëÈË員帳號ÃÜ碼,該Ôõ麼×ö..

²»ÓõÚÈý·½¿Ø¼þ¿ÉÒÔ麼?

µÇ½³É¹¦ºó ϵͳ×Ô¶¯²úÉúÒ»¸ösession°É

password = Request.ServerVariables("AUTH_PASSWORD")
ÎÒµÄÃÜ碼顯ʾ為¿Õ,Ôõ麼»ØÊ°¡...
實際ÊÇÓÐ輸ÈëÃÜ碼µÄ

Ôõ麼沒ÓÐÈ˳ö來»Ø簽ÏÂÄØ

û×ö¹ýwindows×Ô´øÑéÖ¤µÄ¡£¡£¡£

ÄÇ難µÀÒ²沒ÈËʹÓÃ過這¾ä嗎?
password = Request.ServerVariables("AUTH_PASSWORD")

ÊDz»ÊÇÃÜ碼ÊÇ*號µÄ×Ö·û,ץȡ²»³ö來°¡

ÎÒresponse.write ¶¼無·¨顯ʾÄØ

ÒýÓÃ
û×ö¹ýwindows×Ô´øÑéÖ¤µÄ¡£¡£¡£


ͬÉÏ

暈µô,Ôõ麼¶¼沒¸ßÈË來¿´¿´°¡.

ʲô½Ð£º驗證·½Ê½為ϵ統×Ô帶µÄWINDOW驗證ģʽ. £¿


¾ÍÊÇ 網頁µÇ陸時,輸ÈëµÄ帳號ºÍÃÜ碼為WINDOW²Ù×÷ϵ統ÖеÄ帳號與ÃÜ碼.

û¸ã¹ý¡£¡£
²»¹ýÏó²Ù×÷ϵͳµÄÕË»§µÄÃÜÂëÓ¦¸Ã²»»áÊÇÓÃÃ÷ÎÄÖ®ÀàµÄ·¢ËͺÍÃ÷ÎÄÒ»ÑùµÄ½ÓÊÕºÍÈÏÖ¤°É£¿È·ÊµÃ»¸ã¹ý£¬Ö»ÊDz²⣬¹þ¡£¡£
¶¼ÒѾ­ÊÇϵͳÈÏÖ¤ÁË£¬²»ÖªµÀ»¹Òª»ñÈ¡Ã


Ïà¹ØÎÊ´ð£º

ASPÅжϵÄÎÊÌâ,ÓôÃÆÁË!Åжϲ»³öÀ´!

HTML code:

dim jf
set conn=server.createobject("adodb.connection")
connstr="Driver={Sql Server};Server="&Sqlip&";Database="&Sqldb&";Uid="& ......

Ò»¶Îaspתphp

<%if request.QueryString("start") <>"" then%>
<%if cint(start)>0 then%>
<a href="search.asp?q= <%=q%>&start= <%if request.Query ......

Asp ¶þ¼¶²Ëµ¥ ÈçºÎÒÔº¯ÊýµÄÐÎʽʵÏÖ

ÒòΪºÜ¶àµØ·½¶¼ÒªÓõ½¶þ¼¶²Ëµ¥£¬ÎÞˢеÄÄÇÖÖ£¬ËùÒÔÏëд¸öº¯Êý£¬Êý¾Ý¿âΪSQL¸ñʽ¡£
¶®µÄ°ïæдһ¸ö£¬Ð»Ð»ÁË£¡
£¨±¾ÈËΪASPÐÂÊÖ£¬ËùÒÔ×îºÃ°ïæдµÃÏêϸµã¡££©
ÁíÍâÔÙ°ïæд¸öǰ̨µ÷ÓõÄÒ³Ã棬¼òµ¥µãµÄ¾ÍºÃ£¬ ......

ÈçºÎ¿ØÖÆasp:LabelµÄTextÖµ²»Äܸ´ÖÆ

ÈçÌ⣬°üÀ¨ÓÒ¼ü¸´ÖÆ£¬ºÍCtrl+C¶¼²»ÄÜ¡£
×Ô¼ºÏȶ¥Ò»¸ö

jsÆÁ±Î¼üÅÌ¡£

ÓÃJSÆÁ±ÎÕû¸öÒ³Ãæ²»Äܸ´ÖÆ

ÍøÒ³ÀïÆÁ±ÎÓÒ¼ü
¡´script¡µ
function click(){
if(event.button==2){
alert( '±¾ÍøÕ¾»¶Ó ......

°ï°ïÎÒѽ.ÐèÒªÒ»¸öaspÓòÃû²éѯµÄ¹¦ÄÜ


Ë­ÓÐaspÓòÃû²éѯµÄ¹¦ÄܵÄÔ´ÂëŶ.

ÄܸøÎÒÒ»¸öÂð,ÎÒºÜÐèҪѽ,лл¹þ


¿´¿´Õâ¸ö¡£
http://www.aspinfo.cn/article/bc/xml/17901.html

°¥.ÔõôûÈ˻ظ´Å¶


ÈçÐèÒªÔĶÁ¸Ã»Ø¸´£¬ÇëµÇ¼»ò×¢²á ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ