Up to [Public] / libwww / Library / src
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
First version having AA using HTRequest structure. This seems to work pretty well with server, but I've been unable to test it with linemode which doesn't compile currently, so prepare yourself for client coredumps. :-( It may also be that AA just simply doesn't let you know about itself at all -- so it may also appear to be dead instead of killing the whole client. Now I'm going home to get some sleep -- staying up 34 hours is starting to get to me.
* Now if there is no HTBin (or BinDir, they're the same) rule the /htbin feature is not turned on at all. * Added Search rule to tell the /htbin script doing index search. * Bug fix: static string returned by crypt() was freed()'d :-(
Added full AA support for server scripts.
Added some minor bug fixes and stuff suggested by marca: * added a new function HTPromptUsernameAndPassword() so that GUI clients can have just a single authentication dialog box * nobody and nogroup are looked up by name (no longer hardcoded values) * understands also negative uid/gid values * added /../ check also in the AA package * AA now takes place only if accessing a local file (otherwise what the daemon does when running as a gateway is funny...) * broken fail rule hanling by AA fixed * some ""s to NULLs and other minor things
Changed NULLs to (char)0's :-(.
Changed the access authorization checker function so that it is ok just to have mask group and not ACL when protected by "Protect" rule. Also added empty-password feature (authentication just by login name if password field in password file is empty).
Added first version of access authorization in.