|
Giant Eagle
|
 |
« on: April 04, 2007, 07:09:34 AM » |
|
I personally hate it when i browse a file server where a huge list of folders are displayed which are all restricted to users.  So, wouldnt it be nice to have %protected% - [protected] where you can put up an image (Like a Lock or something) that will only show up when login is required for that particular file and / or folder.
|
|
|
|
|
Logged
|
Rest in peace 500mhz server, you served me well... New 1500mhz server DOA'ed on me >_> New 2400mhz server up and running again  
|
|
|
rejetto
Administrator
Insane programmer
Offline
 Italy
Posts: 11829
|
 |
« Reply #1 on: April 04, 2007, 09:05:17 AM » |
|
HFS cannot know when the login dialog will pop up on the browser, because the browser decide itself how to store and use passwords.
anyway, HFS can know whan items are protected. i can insert the %protected% there. is it ok?
|
|
|
|
|
Logged
|
|
|
|
|
Giant Eagle
|
 |
« Reply #2 on: April 04, 2007, 01:31:45 PM » |
|
anyway, HFS can know whan items are protected. i can insert the %protected% there. is it ok?
Would it be able to do this: (If yes,  then thats exactly what i wanted) Lets say the folders Media and Template are restricted to users only. and that [protected] contains something like this: <img src="lock.jpg" alt="" /> Then the output would be: [attachment deleted by admin]
|
|
|
|
|
Logged
|
Rest in peace 500mhz server, you served me well... New 1500mhz server DOA'ed on me >_> New 2400mhz server up and running again  
|
|
|
|
MarkV
|
 |
« Reply #3 on: April 04, 2007, 04:18:57 PM » |
|
I think that is something that should even get implemented into the default template.
MarkV
|
|
|
|
|
Logged
|
 Welcome to Twinkle Park! 
|
|
|
rejetto
Administrator
Insane programmer
Offline
 Italy
Posts: 11829
|
 |
« Reply #4 on: April 04, 2007, 06:07:57 PM » |
|
Then the output would be:
that's exactly what i already got in your previous explanation. what i told you is that when you click on those folders, the browser may remember the password, and access the folder using the password: no login dialog. is it clearer now? is it a problem?
|
|
|
|
|
Logged
|
|
|
|
|
TSG
|
 |
« Reply #5 on: April 04, 2007, 08:43:32 PM » |
|
 i like this idea.
|
|
|
|
|
Logged
|
|
|
|
|
rejetto forum
|
 |
« Reply #5 on: April 04, 2007, 08:43:32 PM » |
|
Do you like this software?
Consider even $2
|
|
|
|
|
Logged
|
|
|
|
|
Giant Eagle
|
 |
« Reply #6 on: April 05, 2007, 03:51:00 AM » |
|
that's exactly what i already got in your previous explanation. what i told you is that when you click on those folders, the browser may remember the password, and access the folder using the password: no login dialog. is it clearer now? is it a problem?
Yes, its clearer =D Another thing, Wouldn't it be possible that, when you are logged in, some of the 'locks' go away. Cause hfs can show (in the account menu) which folders are accessable by a certain user; couldnt this information be used to show and hide certain locks when a user logs in? Or do i get it wrong again?
|
|
|
|
|
Logged
|
Rest in peace 500mhz server, you served me well... New 1500mhz server DOA'ed on me >_> New 2400mhz server up and running again  
|
|
|
Guest
Guest
|
 |
« Reply #7 on: April 05, 2007, 09:24:11 AM » |
|
A work around for now is folder Comment with <img align=top src="/~img12" alt="Private"> Log In Required for all protected folders. If %protected% is implemented, I hope it will be selectable, so it can be turned off. I probably don't understand this well, but what about a case where there are several folders protected, but each user only has access to part of them ?
|
|
|
|
|
Logged
|
|
|
|
rejetto
Administrator
Insane programmer
Offline
 Italy
Posts: 11829
|
 |
« Reply #8 on: April 05, 2007, 09:59:21 AM » |
|
Or do i get it wrong again?
wrong because http authentication is stateless... long story
|
|
|
|
|
Logged
|
|
|
|
|
Pit
|
 |
« Reply #9 on: April 05, 2007, 12:18:22 PM » |
|
A work around for now is folder Comment with <img align=top src="/~img12" alt="Private"> Log In Required How looks the complete path to the icon if my Filesystem locally stored in d:\webserver\webroot ?? Thank you
|
|
|
|
« Last Edit: April 05, 2007, 01:02:19 PM by Pit »
|
Logged
|
|
|
|
rejetto
Administrator
Insane programmer
Offline
 Italy
Posts: 11829
|
 |
« Reply #10 on: April 08, 2007, 07:03:08 AM » |
|
you don't have to care on how it is stored in your hard disk. you only have to care on the path in your virtual file system.
|
|
|
|
|
Logged
|
|
|
|
|
Giant Eagle
|
 |
« Reply #11 on: April 08, 2007, 10:11:01 AM » |
|
wrong because http authentication is stateless... long story
Ok, nevermind that  anyway, HFS can know whan items are protected. i can insert the %protected% there. is it ok?
Yes, thats the main reason i wanted %protected% in the first place 
|
|
|
|
|
Logged
|
Rest in peace 500mhz server, you served me well... New 1500mhz server DOA'ed on me >_> New 2400mhz server up and running again  
|
|
|
rejetto
Administrator
Insane programmer
Offline
 Italy
Posts: 11829
|
 |
« Reply #12 on: April 08, 2007, 04:34:50 PM » |
|
ok accepted
|
|
|
|
|
Logged
|
|
|
|
|
Fysack
|
 |
« Reply #13 on: April 08, 2007, 05:03:44 PM » |
|
I personally hate it when i browse a file server where a huge list of folders are displayed which are all restricted to users.  What is the adress? Do they have porn`? 
|
|
|
|
|
Logged
|
it`s no greater pleasure, than someone is happy that you exist
|
|
|
|
Giant Eagle
|
 |
« Reply #14 on: April 08, 2007, 06:04:31 PM » |
|
undoubtly.. but its restricted.. So i hope those lock images will reduce my hope in a search for free porn on the web  (Im not inviting you to spam links now  )
|
|
|
|
|
Logged
|
Rest in peace 500mhz server, you served me well... New 1500mhz server DOA'ed on me >_> New 2400mhz server up and running again  
|
|
|
|