On 1 Sep 99, at 18:32, Khadiyd Idris wrote:
> gimana caranya biar nggak usah
> pake nampilin password dialog
> tetapi dengan form
> misal:
>
> login _____________
> password _____________
> [ ENTER ]
>
> pas diklik enter baru masuk
> ke members/member.html
Kelihatannya mau bikin kayak login-nya hotmail.
Sayangnya server based authentication/authorization itu terjadi pada
stage sebelum aplikasi CGI dieksekusi.
Dari manual Apache, ada sejumlah stage (semakin tinggi versi apache,
maka semakin banyak stage yg dapat diprogram handler-nya - semakin
kecil regularitasnya):
+ URI to Filename translation
+ Auth ID checking [is the user who they say they are?]
+ Auth access checking [is the user authorized to do this?]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
di sini server based otentikasi+otorisasi berlangsung
+ Access checking other than auth
+ Determining MIME type of the object requested
+ Fixups [last minute tweaking phase before response]
+ Actually sending a response back to the client
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Di level ini, CGI app dieksekusi
+ Logging the request
Kalo halaman login-nya mau pake form, maka otentikasi+otorisasinya
dikerjakan di level CGI. Ini bisa lihat contoh auth-lib.pl nya
Gunther Birzniek di http://www.extropia.com/
--------------------------------------------------------------------------------
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3
Pengelola dapat dihubungi lewat [EMAIL PROTECTED]
Hosted by http://www.Indoglobal.com