You are viewing limited content. For full access, please sign in.

Question

Question

Which Network protocol is used to access LF Server

asked on May 8, 2014

We have developed a document retrieval web service using the Laserfiche SDK.  This facilitates the viewing of a stored PDF or TIFF file directly in the user’s browser upon clicking a hyperlink.

 

It is our requirement that the user’s windows credentials must pass though from the browser to the web server and on to the Laserfiche server so that users are only able to retrieve documents which their credentials allow them to view.

 

We have configured the web server to use Windows Authentication with allowedImpersonationLevel set to ‘Delegation’.  We have set up the Kerberos token to allow pass-through on HTTP.  However, we always receive an ‘Access Denied’ error from Laserfiche which suggests that the credential pass through is not working.

 

In the retrieval service, we connect to Laserfiche with the following code:

 

session.Connect(repository);

session.LogIn(repository);

 

Where ‘session’ is an instance of Laserfiche.RepositoryAccess.Session.

 

We are unable to determine which network protocol is used to access the Laserfiche server using this method.  Can someone please advise.

 

Thanks

0 0

Answer

SELECTED ANSWER
replied on May 8, 2014

I think the problem is that allowedImpersonationLevel means that you can impersonate, but you still have to explicitly begin and end impersonating.  The Impersonate method is probably what you want, and I think you can just use the current WindowsIdentity.  If that doesn't work, you'll need to provide more information about your environment (I'm guessing this is WCF?).

 

The protocol used is WebDAV, which is an HTTP extension.  For delegation configuration, you can follow the same steps as when you set up Kerberos for Web Access.

2 0
replied on May 13, 2014

Thanks Brian.

Actually we are already doing those things.  Yes it’s a WCF service running on a separate web server from Laserfiche.  It does work if we run it on the same server as Laserfiche.

0 0

Replies

replied on May 12, 2014

Hi Uzair,

 

It looks like Brian's response answered your question! If it did, please click the "This answered my question" button on his post.

 

If you still need assistance with this matter, just update this thread. Thanks!

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.