rejetto forum
May 24, 2012, 02:47:33 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: %protected% - Request  (Read 6397 times)
0 Members and 1 Guest are viewing this topic.
Giant Eagle
Insane poster
*****
Offline Offline

Netherlands Netherlands

Posts: 533


>=3 RAWR!

no.body056@gmail.com
View Profile WWW
« 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. Grin

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 Grin

rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« 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
Insane poster
*****
Offline Offline

Netherlands Netherlands

Posts: 533


>=3 RAWR!

no.body056@gmail.com
View Profile WWW
« 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, Cheesy 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="" />&nbsp;

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 Grin

MarkV
Insane poster
*****
Offline Offline

Germany Germany

Posts: 725



View Profile
« 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! Grin
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« 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
Operator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #5 on: April 04, 2007, 08:43:32 PM »

Shocked 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
Insane poster
*****
Offline Offline

Netherlands Netherlands

Posts: 533


>=3 RAWR!

no.body056@gmail.com
View Profile WWW
« 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 Grin

Guest
Guest


Email
« Reply #7 on: April 05, 2007, 09:24:11 AM »

A work around for now is folder Comment with
Code:
<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 Offline

Italy Italy

Posts: 11829


View Profile
« 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
Tireless poster
****
Offline Offline

Germany Germany

Posts: 115


P_Hampel@gmx.net
View Profile WWW
« Reply #9 on: April 05, 2007, 12:18:22 PM »

A work around for now is folder Comment with
Code:
<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

You reach our Webserver every day between 9 AM to 10 PM under: http://phampel.dyndns.org or http://free4you.dyndns.org
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« 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
Insane poster
*****
Offline Offline

Netherlands Netherlands

Posts: 533


>=3 RAWR!

no.body056@gmail.com
View Profile WWW
« Reply #11 on: April 08, 2007, 10:11:01 AM »

wrong because http authentication is stateless... long story

Ok, nevermind that Tongue

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 Smiley
Logged

Rest in peace 500mhz server, you served me well...
New 1500mhz server DOA'ed on me >_>
New 2400mhz server up and running again Grin

rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #12 on: April 08, 2007, 04:34:50 PM »

ok accepted
Logged
Fysack
Insane poster
*****
Offline Offline

Norway Norway

Posts: 378


present picture


View Profile WWW Email
« 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. Grin
What is the adress? Do they have porn`?  Grin
Logged

it`s no greater pleasure, than someone is happy that you exist
Giant Eagle
Insane poster
*****
Offline Offline

Netherlands Netherlands

Posts: 533


>=3 RAWR!

no.body056@gmail.com
View Profile WWW
« 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 Grin



(Im not inviting you to spam links now  Wink)
Logged

Rest in peace 500mhz server, you served me well...
New 1500mhz server DOA'ed on me >_>
New 2400mhz server up and running again Grin

Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 23, 2012, 08:59:52 PM