401 authorization issues on java upload

Phoca Gallery - image gallery extension
jciconsult
Phoca Member
Phoca Member
Posts: 35
Joined: 06 Aug 2009, 12:30

401 authorization issues on java upload

Post by jciconsult »

1) For security reasons, I like to have the administrator tree password protected
2) I have NOT enabled an FTP account to the images folder tree
3) I get a 401 authorization error from your software.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 401 authorization issues on java upload

Post by Jan »

Hi, it is common problem with authorization. The java needs to load files from administration folder, so there are only two ways:

1) not use javaupload in frontend
2) not use password protection in administration

It is hard to say but there is no other way. :( On some forums there is guide how to add encrypted password to frontend html code and send it in java but I think this is the worst thing you can make, in fact you are displaying your password in your html code (e.g. base64 can be easily decrypted, in fact it is no encryption method) :(

Jan
If you find Phoca extensions useful, please support the project
lmanders
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Nov 2010, 17:35

Re: 401 authorization issues on java upload

Post by lmanders »

Hello,
Has this problem been resolved in any other way? I get the same error HTTP status 401 authorization required. I cannot remove authorization from my site. I really like phoca gallery, however not having multiple file uploads is a deal breaker for me. Please let me know if there has been an update or something that would fix this problem
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 401 authorization issues on java upload

Post by Jan »

Hi, I think, only the overwriting the whole component (copy the features to frontend) is the only one solution :-(

Jan
If you find Phoca extensions useful, please support the project
jciconsult
Phoca Member
Phoca Member
Posts: 35
Joined: 06 Aug 2009, 12:30

Re: 401 authorization issues on java upload

Post by jciconsult »

What you can try is put .htaccess files in the relevant subfolders of phoca that relax security just for those subfolders. That may help. I have found that this technique works in other components.
Post Reply