Als ik nu van buiten mijn phpmyadmin wil bereiken dan krijg ik paginas die niet bereikbaar zijn.
Is dit normaal ?
Is dit normaal ?
[ Voor 18% gewijzigd door Verwijderd op 17-01-2003 14:25 ]
Verwijderd
1
2
3
4
5
6
7
8
9
10
| AuthUserFile /.htpasswd AuthName "Admin selection" AuthType Basic AuthGroupFile /dev/null <Limit GET POST> require valid-user </Limit> |
Verwijderd
Het is veiliger om .htpasswd buiten je webroot te hebben staanVerwijderd schreef op 17 januari 2003 @ 15:28:
Maar kan het ook niet zijn dat ik .htaccess en .htpasswd in de map phpmyadmin heb staan, of is dat geen probleem ??
1
2
3
4
| AuthType Basic AuthName "Hey vul even je password in!" AuthUserFile /usr/local/apache/passwords/.htpasswd Require user rob |
Leeg
1
2
3
4
5
6
7
8
| AuthUserFile /home/sites/web/dir/.htpasswd AuthName "Password required!" AuthType Basic AuthPAM_Enabled off <limit GET> require valid-user </limit> |
1
2
| $cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)? |
[ Voor 14% gewijzigd door StephanL op 17-01-2003 20:18 ]
Of juist wel. Zij adviseren immers om htaccess te gebruiken. HTTP komt als 2de, en dan pas cookies.StephanL schreef op 17 januari 2003 @ 20:17:
Lezen van de manual is nooit de sterkste kant van tweakers.
Verwijderd
Uhm ... nee.FlamerX schreef op 17 januari 2003 @ 20:22:
[...]
Of juist wel. Zij adviseren immers om htaccess te gebruiken. HTTP komt als 2de, en dan pas cookies.
Kortom, gebruik auth. mode 'http', en je krijgt vrijwel hetzelfde effect als het aanpassen van .htaccess, mogelijk gemaakt door de makers van phpMyAdminUsing authentication modes:
Http and cookie authentication modes are recommended in a multi-user environment where you want to give users access to their own database and don't want them to play around with others.
Nevertheless be aware that MS Internet Explorer seems to be really buggy about cookies, at least till version 6. And php 4.1.1 is also a bit buggy in this area!
Even in a single-user environment, you might prefer to use http or cookie mode so that your user/password pair are not in clear in the configuration file.
Http and cookie authentication modes are more secure: the MySQL password does not need to be set in the phpMyAdmin configuration file (except for the "controluser" -see the Configuration section-).
However, keep in mind that the password travels in plain text, unless you are using the https protocol.
In cookie mode, we send the password in a temporary cookie, so most browsers should not store the password in their cookie file.
/dev/null onder windows? Ik denk niet dat dat echt helpt.. tis overigens een optionele optie (uhhVerwijderd schreef op 17 januari 2003 @ 14:26:
zet die er eens bij dan
volgens mij is AuthGroupFile optioneel, but i'm not sure
Verwijderd
JaVerwijderd schreef op 17 januari 2003 @ 19:47:
zijn je pages zonder .htaccess wel bereikbaar dan....
beetje vaag
Dit was duidelijk een vraag aan de topic starter en geen vraag over hoe .htaccess werktVerwijderd schreef op 17 januari 2003 @ 20:44:
[...]
Ja
-Geen .htaccess in een map -> iedereen kan die map + submappen bekijken.
-Wel .htaccess in een map -> die map + submappen kunnen alleen na inloggen worden bekeken.
Online:
Iedereen bedankt, het is gelukt !!!
Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz
Dit topic is gesloten.
![]()