The 1C:Enterprise developers forum

#1
People who like this: 0 Yes / 0 No
Active user
Rating: 3
Joined: Feb 28, 2012
Company:

Hello All,

Is OS authentication possible through the web client?

For example lets say i have a windows network setup with domain and active directory.
I setup my enterprise server on a server that is also part of the Domain. The web publishing is done through Apache server.
I create users and link them through OS authentication with active directory users.

The question is:
Will the users authenticated on the network auto-login if they start 1C using the web client and a browser? I know it is supposed to work with thin and thick client. But how about web?

 
#2
People who like this: 0 Yes / 0 No
Just came
Rating: 1
Joined: Feb 29, 2012
Company:

Hi Constantinos,

OS authentication is not supported for Web Client mode.
I have the same your problem. Problem was solved by other ways.
I created an application in another language (C#). This application will execute following steps:
1. Validate Credentials : UserName , UserPassword at Active Directory.
2. If the condition is true, then Run the command for web client with parameter: N=UserName&P=UserPassword
  For example : http://localhost/1CDemoApp/?N=UserName&P=UserPassword

P/S: Your UserName , UserPassword  are the same values in Active Directory and in 1C Application.

 
#3
People who like this: 0 Yes / 0 No
Active user
Rating: 4
Joined: Apr 18, 2012
Company:

The easiest way is using IIS instead Apache.

 
#4
People who like this: 0 Yes / 0 No
Active user
Rating: 4
Joined: Nov 19, 2012
Company:

Quote
OS authentication is not supported for Web Client mode.
That's not correct.

OS authentication works fine with both web-servers - IIS and Apache.

For IIS "Windows authentication" has to be switched on into Authentication section.

For Apache on Windows solution is a bit more complicated.
For example, http://serverfault.com/questions/406288/integrated-windows-authentication-with-apache-http-server-on-linux

Quote
Will the users authenticated on the network auto-login if they start 1C using the web client and a browser?
Web-server always ask you for your domain credentials and save it into cookie. If you are authorized - web-server pass this credentials into 1C and platform run applications without any other credential requests.
Not sure if it is possible to make this process completely transparent.
But in my opinion - it is a good security practice to ask user for windows credentials even when user already logged in on local machine.

Download IIS.png (50.13 KB)
Edited: Aleksey Bochkov - Oct 28, 2015 02:25 PM
 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)