Anyway, it should be fairly simple to make a "copy url with session" feature, even in the template itself (the web GUI). The server have to 'get' it, but it will soon.
I like that approach
I will wait the implementation of "copy url with session" in some of your future builds. Even if it's easy to modify the template, I vote for adding this as an option in the menu (see my suggestion below), to make easier to enable this independently of which template the server admin is using (and to avoid people come here asking for help about modifying the template).
» Suggestion: This function is now obsolete:
Menu > URL encoding > Include password in pages (for download managers)(which makes this URL:
http://user:pass@127.0.0.1/filename.rar)
It could be replaced with:Menu > URL encoding > Include authenticated session (for download managers)(you could use another text description, but I think this is clear enough)
» Important detail: If the Session-ID is contained in the URL,
it should work independently and override the cookies that a download manager could generate (and send on the HTTP headers). For example, FlashGet uses (on the backend) the cookies of IE, but if the user is using Firefox to login (and authenticate), there is no relation between the download manager and the browser. FlashGet generates and negotiates his own cookie (like if it were a browser), so, if you implement this,
if the Session-ID is found in the URL, it should override the 'Set-Cookie: HFS_SID_=' sent in the headers of the download manager, or otherwise it will no work (because the FlashGet cookie is independent of the browser). I can provide more details if this is not clear for you (on how FlashGet works), but it works on the same way in another independent download managers, which -are not- a browser extension. Also think on some other users, which are using HFS as a simple binary file server (
like this user, which was needing to remove Set-Cookie and ETag), but could want to have password-protection.
Cheers,
Leo.-