Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 28. Mar 2024, 20:48

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 3. Mar 2009, 13:53 
Offline

Joined: 3. Mar 2009, 13:41
Posts: 2
Dear all,
I've programmed an own login system in my website. Now I wan't to use the Flash Uploader, each users should have an own directory. I saw that it isn't possible to refer the folder-path to the flash object because of security things.

So my last hope is the user auth, I upgraded the user array in the file ".htusers.php". Then I changed the login method from "true" into "auth." Everything works fine, BUT! I won't have the login box in the flash object.

What I wan't is: Refering the login-data to the flash object and autologin into the flash uploader.

Is that currently possible?

best regards, Broady


Top
 Profile  
 
 Post subject:
PostPosted: 3. Mar 2009, 14:28 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Sure.

I do this in JFU and TWG all the time ;).

You can simply set e.g. the folder to the session and get this in the tfu_config.php. If you want a working example you can look into JFU.
In JFU I have a session_fix function which saves the session and opens it again. This is useful if the flash tries to read the config before the session of your including page is written to the disk. Sometimes this is a problem.

about your security system. Read

http://www.tinywebgallery.com/en/tfu/web_faq.php#13

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 3. Mar 2009, 15:48 
Offline

Joined: 3. Mar 2009, 13:41
Posts: 2
thanks for the Tip. :) works fine!
My other Idea was to handle that about a htaccess file. ;) thanks a lot.

If the trial works fine with my scripts, I'll buy the full version.


Top
 Profile  
 
 Post subject:
PostPosted: 3. Mar 2009, 16:08 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
htaccess is a very bad idea because Firefox does not handle cookies very well and then you would get a additional login ... There is a howto about this problem as well.

Using it like described in the howto is reliable, user friendly (only one login) and save.

- Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy