Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > OS authentication question.

Forum

Search UsersRules
OS authentication question.
#1
Active user
Points:: 0
Joined:: Feb 28, 2012

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?

Profile
#2
Just came
Points:: 0
Joined:: Feb 29, 2012

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.

Profile
#3
Active user
Points:: 0
Joined:: Apr 18, 2012

The easiest way is using IIS instead Apache.

Profile
#4
Active user
Points:: 0
Joined:: Nov 19, 2012

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.

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.