Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Tamila  
#1 Posted : Sunday, February 15, 2009 2:13:23 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
There is a mechanism allowing to get credentials (user name and password) when making a request to a site. In the case if this mechanism is enabled on a site, you get the dialog requesting login and password before loading the page. There are two basic authentication protocols: basic (.htaccess) and ntlm. Image Uploader supports both of them.

There is no need to do anything with Image Uploader ActiveX, it detects authentication type automatically. However Image Uploader Java requires to be initialized with authentication type used on the site where it uploads files to via its parameters. You can specify authentication mechanism used on your site via AuthenticationType property. If you initialize this property properly Image Uploader Java will show you the dialog where you will be able to enter login name and password. These credentials will be passed to HTTP POST request initialized by the applet to upload files.

If you use basic authentication on your site you need to add the following code to your script:
Code:
iu.addParam("AuthenticationType", "basic");


If you use NTLM (NT LAN Manager) authentication type you should write the following code:
Code:
iu.addParam("AuthenticationType", "ntlm");


See also:

Edited by user Wednesday, April 22, 2009 3:26:47 PM(UTC)  | Reason: Not specified

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.