1
HFS ~ HTTP File Server / Automatic login using macros / Automatic user recognition
« on: June 02, 2016, 02:30:29 PM »
I have at the office an "Active Directory" where we have a lot of users. First, I make in the server an user to the domain, and then using a script, I make that user in HFS. What I'm looking for?: that when some user enters at the server page, HFS using a macro detects the logged Windows user, and if that user exist in HFS, then automatically validate it, so the user doesn't have to insert the password. If the user doesn't exist, then it will ask for a password. Is that possible to do using macros?.
I did some tests, and by using IExplorer I can get the user name if I use ActiveX, but there is no way to send that back to HFS. Other browsers doesn't have this ActiveX function. Currently, I'm using a .bat (Batch) to get and save the user in a .txt file, but I can't find a way to load the name of the .txt with the function "filename" (it doesn't work). I'm trying to upload that, to make and automatic login, or looking for another way to do this. Can anyone help me. Thanks.
I did some tests, and by using IExplorer I can get the user name if I use ActiveX, but there is no way to send that back to HFS. Other browsers doesn't have this ActiveX function. Currently, I'm using a .bat (Batch) to get and save the user in a .txt file, but I can't find a way to load the name of the .txt with the function "filename" (it doesn't work). I'm trying to upload that, to make and automatic login, or looking for another way to do this. Can anyone help me. Thanks.