thanks for this. but there are certain problems.
once logged in how will i log them out. currently i am using cookies for
authentication which i can change any time.
another problem is that i want them to be logged thru a forms (the way by
which most portals work) and not thru .htaccess Then how do these portals
block their folders for access. Is there some folder/directory blocking
code available without .htaccess ofcourse which can help me out.
thanks once again
>
> On Mon, 3 Jul 2000, Peter J. Schoenster wrote:
>
> > On 4 Jul 2000, at 0:58, Rajil Saraswat wrote:
> >
> > >
> > > I am developing an application in which the users have to login
> > > thru a cgi script. onced logged they need to download certain
> > > files wherein i have placed htaccess file(for security). This
> >
> > Just put the .htaccess and login script in the same directory.
> > They login via .htaccess and that username is then available
> > to your cgi script ... you can decide what to do with them ...
> > put files for a group in a folder with an htaccess file that
> > requires the group they are in and you don't have to worry
> > about other registered people searching folders they are not
> > supposed to get files from. Because the user logged in once
> > he will not have to login again .. as long as you don't change
> > the domain.
> >
> > Peter
> > Don't blame Microsoft for the weakness of it's users and competitors - Peter J.
>Schoenster
> >
> > "I swear by my life and by my love of it that I will never live for the sake of
>another man, nor ask another man to live for
> > mine." --John Galt
> >
> >
>
>