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.
401 authorization issues on java upload
-
jciconsult
- Phoca Member

- Posts: 35
- Joined: 06 Aug 2009, 12:30
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 401 authorization issues on java upload
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
1) not use javaupload in frontend
2) not use password protection in administration
It is hard to say but there is no other way.
Jan
If you find Phoca extensions useful, please support the project
-
lmanders
- Phoca Newbie

- Posts: 2
- Joined: 16 Nov 2010, 17:35
Re: 401 authorization issues on java upload
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
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
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 401 authorization issues on java upload
Hi, I think, only the overwriting the whole component (copy the features to frontend) is the only one solution 
Jan
Jan
If you find Phoca extensions useful, please support the project
-
jciconsult
- Phoca Member

- Posts: 35
- Joined: 06 Aug 2009, 12:30
Re: 401 authorization issues on java upload
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.