Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] password protected directory Re:

From: greywolf:greyfade at: 16-Sep-2000 20:39

----- Original Message ----- From: <[jackseay--earthlink--net]> To: <[list--rebol--com]> Sent: Friday, September 15, 2000 11:18 PM Subject: [REBOL] password protected directory
> Is there a Rebol script to password protect a directory and/or > file(s) on a server? > Would the same script work on different servers? > Would other files be needed? > Would the password and user names file be plain text? > What would need to be done to configure it? > What HTML would include or call it? > > I found a program at rebol.org that looks like it might do the job, > but if it does, what needs to be done to use it? > http://rebol.org/general/auth.html >
if you're asking what i think, then you're asking about using .htaccess configuration files. there are several tutorials out there... somewhere. :P using .htaccess makes the server send a username/password request to the browser, where the user gets the familiar user/pass dialog. if the right password is not entered, the user gets an authorization denied message. this method locks all files in the directory and all its subdirectories. what you referred to last looks like an authentication script that redirects a usr to a specific page after providing the appropriate password(s).