[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: minimate and user restrictions
Hi Saulius,
to use MV with .access and .access_gate or you wish a page with login,
try this:
Make a dir like .../youshop/pages/testaccess in your catalogdir.
Copy .access to this new dir.
Copy a page (i.e. mysecurepage.html) to this new dir.
Create a file .access_gate und put this into your new dir.
The .access_gate file has a line like
mysecurepage: [if session username eq 'Saulius']Yes[else]No[/else][/if]
*: 0
If you has a second file like mysecondsecurepage.html, your .access_gate
look like
mysecurepage: [if session username eq 'Saulius']Yes[else]No[/else][/if]
mysecondsecurepage: [if session username eq
'Saulius']Yes[else]No[/else][/if]
securemenuepage: [if session username eq
'SecureSaulius']Yes[else]No[/else][/if]
*: 0
If your are login as an user "Saulius", you can see all your
mysecurepage. If you are not login and you try to see your securepage,
you get a violation page.
If there is another page (i.e. mythirdsecurepage.html) and you try to
see mythirdsecurepage as an user "Saulius", you get the violation page
too, because "*.0" will forbidden all another page for all people or you
have forgotten to add the third securepage into the .access_gate file.
I hope you get success!
Joachim
BTW:
If you wish an extra log in procedure, make an extra page (i.e.
new_secure_account.html).
If user is not logged in, he can log in with another special name (i.e.
"Securesaulius") and the nextpage is like (i.e.) securemenuepage.html.
| ****** message to minivend-users from "Saulius"
<sauliux@omnitel.net> ******
|
| I have instaled MiniMate (MV ver 3.12, Debian 2.1). Everythin seems
OK, but
| I can't figure out why I can access and modify any page in any catalog
| without loging in.
| Where files .access and .access_gate sould be? in
catalog/pages/reconfig
| or mvend/admin/ ?
| I copied in both dirs these files, but nothing changed...
| Any ideas?
|
| Saulius
|
| -
| To unsubscribe from the list, DO NOT REPLY to this message. Instead,
send
| email with 'UNSUBSCRIBE minivend-users' in the body to
Majordomo@minivend.com.
| Archive of past messages:
http://www.minivend.com/minivend/minivend-list
|