rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: tahtonim on October 02, 2005, 08:18:31 AM

Title: i'm trying to create an "open" username option..
Post by: tahtonim on October 02, 2005, 08:18:31 AM
first - i want to appologize for my poor English.. i'm from Israel.
now, for my question:
I know how to create an encoded folder that requires a username and pass.
the thing is.. i also have a general folder (for pictures and such) that i want all users to watch. i didn't encode this folder so anyone can have accsess. but i still want to know WHO is wondering arround in my site..
is there a way of creating an "open" username dialog for people just to enter their Username (even with a pre-defined password) ?

thanks a lot for your time :-)
Title: i'm trying to create an "open" username option..
Post by: rejetto on October 02, 2005, 01:36:56 PM
i don't think you can
Title: i'm trying to create an "open" username option..
Post by: Anonymous on October 02, 2005, 07:04:54 PM
What Server side language can i use with HFS web server?
Title: i'm trying to create an "open" username option..
Post by: TGeRi on October 02, 2005, 07:15:57 PM
none i think
Title: i'm trying to create an "open" username option..
Post by: Anonymous on November 13, 2005, 05:29:32 PM
could you set a user and pass as 'user' and 'password'. Tell users somehow this is what to do and then they can log on and their ip is recorded.
Title: thanx but..
Post by: tahtonim on August 16, 2006, 03:47:52 PM
maybe i'll explain myself better:

i want one section of my site to be open to all users.
the thing is, i still want to know WHO this user is.
so i want to create a user that only checks one of the 'username' or 'password' fields.

in that case - i can tell everyone that tha password is 'pass' but that they have to write their names in the 'username' tab in order to login.

in that case - both of these users will manage to log in:

name: john
pass: pass

and

name: doe
pass: pass

and i'll see in my HFS logs that john and doe entered this section of my site.

get it?
Title: i'm trying to create an "open" username option..
Post by: ledufe on August 16, 2006, 05:12:57 PM
you can develop a javascript form to access the section(folder) and inside this script, you define the user only will pass if they provide a simple name
with no pass at all unless you want a password too...(i guess it is easy to do this...) but i will try when i got some time to spare...

the the java script could save inside a txt or a raw file(text inside) with the login suplied and the time it has benn loged you could look at the time and the ip of that access in the hfs log...
Title: i'm trying to create an "open" username option..
Post by: ~GeeS~ on August 16, 2006, 07:11:43 PM
Wouldn't waste my time on that.

You'll probably get a lot of Jane or John Does or Mickey Mouses or Betty Boops from different IP's or anonymous proxies ... and you still don't know WHO is really on your site.
_______
~GeeS~
Title: i'm trying to create an "open" username option..
Post by: rejetto on August 16, 2006, 07:12:39 PM
Quote from: "ledufe"
the the java script could save inside a txt or a raw file(text inside) with the login suplied and the time it has benn loged you could look at the time and the ip of that access in the hfs log...

javascript is client side, it can't access HFS log.


anyway, HFS 2.0 accept any inexistant username, with any password.
and that username in the logs, appears, so i think this is the solution for you.
this thing should not work in 2.1, be warned.