rejetto forum

1.6 comin...

rejetto · 291 · 326041

0 Members and 5 Guests are viewing this topic.

Offline Mr. Anon

  • Tireless poster
  • ****
    • Posts: 270
    • View Profile
Here's what HFS 1.6 rc10 returned when I tried the login procedures: (using customized realm) (So far it works! ;))

Quote
GET / HTTP/1.1
Host: 127.0.0.1
Accept: */*
Connection: close

HTTP/1.1 401 Unauthorized
Content-type: text/html
WWW-Authenticate: Basic realm="Customized Realm"

Quote
GET /~login HTTP/1.1
Host: 127.0.0.1
Accept: */*
Connection: close

HTTP/1.1 401 Unauthorized
Content-type: text/html
WWW-Authenticate: Basic realm="Customized Login Realm"

@Rafi, the login button is for "Users Login". When you setup a user account in HFS, you could protect items so that those items are shown/accessed only when those users are logged in.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
this is my test procedure
brand new VFS
create new virtual folder
customize folder realm: "asd"
protect the folder with user/pass or account
browse the folder



"login" button is to authenticate the user withouth need to click on a protected resource.
purpose can be any, Anon just described one.


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
Quote from: "rejetto"
this is my test procedure
brand new VFS
create new virtual folder
customize folder realm: "asd"
protect the folder with user/pass or account
browse the folder



"login" button is to authenticate the user withouth need to click on a protected resource.
purpose can be any, Anon just described one.

I used almost the same procedure and it worked for me too.
I think that may be there is a misunderstanding among some users.
They might be expecting the realm to be displayed when the login-botton  is pressed , and not when the protected folder is pressed ?!
So if they want to - you may add a customised realm for htis general dialog/ I think it is not needed...


VIP

  • Guest
wow.. 1.6 is looking like it will have some awesome features.
Right now, I found something that would be a very simple way of allowing me to make a mIRC script for HFS.

The script would modify a text file that the HFS uses to allow access by IP address.

The premise would be simple:

Someone wants to download a file from the HFS host, so they send a command... my script would do all the neccesary information handling within mIRC, and add their IP address to the access .txt that HFS checks upon connection. The mIRC script would then delete the IP address after a specified time amount (allowing them to start the download) then would remove the IP from the .txt file that HFS uses. The user would be downloading the file, and without their IP in the .txt file, they could not start another download. The mIRC script would handle how many times they could connect to the HFS per day, and even monitor traffic to a certain IP, and limit amounts of data to be used. Even add waiting lines for people to queue up.

I would love to see this feature built into HFS, as I am a mIRC scripter, and know many who could make use of this would be happy to see a mIRC script out there.

The only thing that I need incorporated into HFS is a way to enable a .txt file check that allows IPs in there to have access to a certain account type (which are already imbedded into HFS). If enabled, it would check the IP accessing and compare it to the .txt, and if the IP is in the .txt, it would grant them the extra priveleges.

I would do all the mIRC scripting and featured, and would be more than happy to give you the script, and provide technical support for it.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
it is already in the to-do list, as you can see
i think a good solution would be to have an ip filter for accounts, then you would just tell HFS what IPs are good for the account X


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
Quote from: "Rafi"
They might be expecting the realm to be displayed when the login-botton  is pressed , and not when the protected folder is pressed ?!
So if they want to - you may add a customised realm for htis general dialog/ I think it is not needed...

it is already there: "login realm"


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
Quote from: "rejetto"
Quote from: "Rafi"
They might be expecting the realm to be displayed when the login-botton  is pressed , and not when the protected folder is pressed ?!
So if they want to - you may add a customised realm for htis general dialog/ I think it is not needed...

it is already there: "login realm"
Correct, my mistake :#)


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
Quote from: "rejetto"
drag&drop fixed
login problem fixed (it was causing no security flaw, no access to protected items was granted)
http ban header added
login realm customizable
removed characters restriction renaming files/links

@rejrtto -
in rc10 I tried trag&drop again and it seem to me that you need to change it like I mentioned last time(to be like in explorer):
* delete the new tooltip ("drag your files") that you show when the mouse is not on texts (it is not standard)
* whenever a file/link is highlighted in blue - you should be able to drop it (if not in the same place/folder/level) nomatter where the mouse is

now - when the mouse is above any white area (not over text) drops are disabled


VIP

  • Guest
Ok, I am having troubles to understanding what exactly realms etc allow you to accomplish other than a little bit more customised way of logging in?

Can somebody describe a cool feature this enables, and how to set it up?
Thanks =)


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
the "drag your files here" is not intenderd to be standard (?) but to help newcomers

the drag&drop fix is not in rc10

the "realm" is only to write something on the user dialog, nothing else


JO

  • Guest
hello
 -- wonderful software -- thank you very much The height of completeness moves.
 I am a Japanese. There is no thing good so far in Japan.
however, a Japanese file name -- yet -- many bugs -- there is a character Don't I have you correspond by RC11?


Offline polster

  • Occasional poster
  • *
    • Posts: 4
    • View Profile
is there anyway to limit IPs from downloading 2 files ata time...  My concern is when people use download managers like DAP or getright and it takes up 30 connections to download multiple files.

What I mean is there using a download mgr which starts 30 seperate downloads at the same time.

Any way of limiting amount of connections a user can download at a time beofre starting the next download?
rank Rizzo


VIP

  • Guest
besides the use of a modifyable live user/pass or allow ip for mirc, with the incorporation of cgi bins would allow the creation of download systems like what you find on www.fileplanet.com , incorporation of waiting lines to prevent too much bandwidth splitting, daily bandwidth limits, download stats, and probably some more that I cant think about. The cgi and modifyable user/pass and ip allow would allow users to create alot of third party plugins to further extend possible features beyond what you create.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
JO: i will have a look at unicode filenames. i hope i can support them.

polster: limits -> max connections for single address


AnonGuest

  • Guest
I'm running rc10

The invert-ban-logic flag doesn't seem to work consistently

If I put an IP in the ban list,
and invert the ban logic to permit that IP
then save the configuration,

when i start the program again
sometimes I find my IP is banned
if I click the browse button

what seems to be happening
is that when the program first starts
the invert-ban-logic flag is not always set properly
(the ini file is ok ... invert-ban-logic=yes)

it will usually work properly
if I open then close the ban config window

I can put my IP in the (un)banned list
what usually happens then is
when i first start the program, my IP is banned
if I open/close the ban config window, my IP is unbanned
(for my router address and my dynamic internet address)