[apache] beveiligde dir pwrd encrypten

Pagina: 1
Acties:

  • froggie
  • Registratie: November 2001
  • Laatst online: 20-11-2024
Ik heb hier ff geen linux bak bij de hand om een wachtwoordje voor een beveiligde dir te encrypten. Zou iemand die apache heeft draaien dit ff voor mij kunnen doen?

Dus ff met het volgende commando de .htaccess aanmaken:
code:
1
htpasswd -c /path/to/htpasswd/file/.htpasswd test veilig

en daarna de inhoud van dit bestand hier ff posten

Mijn dank zou groot zijn ;)

  • Super_ik
  • Registratie: Maart 2001
  • Laatst online: 09:32

Super_ik

haklust!

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
root@server:/usr/local/apache/bin# ./htpasswd -c /root/.htpasswd test veilig

Usage:
      htpasswd [-cmdps] passwordfile username
      htpasswd -b[cmdps] passwordfile username password

      htpasswd -n[mdps] username
      htpasswd -nb[mdps] username password
 -c  Create a new file.
 -n  Don't update file; display results on stdout.
 -m  Force MD5 encryption of the password.
 -d  Force CRYPT encryption of the password (default).
 -p  Do not encrypt the password (plaintext).
 -s  Force SHA encryption of the password.
 -b  Use the password from the command line rather than prompting for it.
On Windows, TPF and NetWare systems the '-m' flag is used by default.
On all other systems, the '-p' flag will probably not work.

asjeblieft ;)

8<------------------------------------------------------------------------------------
Als ik zo door ga haal ik m'n dood niet. | ik hou van goeie muziek


  • Super_ik
  • Registratie: Maart 2001
  • Laatst online: 09:32

Super_ik

haklust!

heb je hier meer aan?
code:
1
2
root@server:/usr/local/apache/bin# cat .htpasswd
test:K8QPrbiPWfYE.

:? :P

8<------------------------------------------------------------------------------------
Als ik zo door ga haal ik m'n dood niet. | ik hou van goeie muziek


  • moto-moi
  • Registratie: Juli 2001
  • Laatst online: 09-06-2011

moto-moi

Ja, ik haat jou ook :w

Op vrijdag 08 februari 2002 17:59 schreef Froggie het volgende:
Dus ff met het volgende commando de .htaccess aanmaken:
code:
1
htpasswd -c /path/to/htpasswd/file/.htpasswd test veilig
Ondanks het feit, dat je commando niet helemaal klopt ;)

Is dit de output :
code:
1
test:tFmIWfIphZ3Ww
Mijn dank zou groot zijn ;)
* moto-moi kijkt geinterreseerd Hoe groot precies ? :P

God, root, what is difference? | Talga Vassternich | IBM zuigt


  • froggie
  • Registratie: November 2001
  • Laatst online: 20-11-2024
Thnx! En sorry dat het commando niet helemaal goed was, deed het ff uit m'n hoofd en tja, 't was al een tijdje geleden dat ik het voor het laatst zelf gedaan heb ;)

En die dank... uhh... tja... ;)

  • wzzrd
  • Registratie: Februari 2000
  • Laatst online: 24-05 21:44

wzzrd

The guy with the Red Hat

Een htpasswd encrypt niets.

  • Pogostokje
  • Registratie: September 2001
  • Laatst online: 07:49

Pogostokje

* twiet *

Euh ... het password is toch wel een beetje encrypt.

Maar het is geen SSL ofzo nee. :)

... ook ik heb soms per ongeluk gelijk.


  • Leon
  • Registratie: Maart 2000
  • Laatst online: 15-08 14:12

Leon

Rise Of The Robots

is md5 niet veiliger of zoiets :?
of kan dat niet in .htpasswd :?
(laatste keer dat ik het deed kon het nog.. :P)

Eeuwige n00b


  • Pogostokje
  • Registratie: September 2001
  • Laatst online: 07:49

Pogostokje

* twiet *

Ach, als je die files uit de buurt houdt van je documentroot van de webserver kan je er gewoon niet bijkomen vanaf het web.

Op het moment dat een hacker kan inloggen op je bakkie dan maakt die file ook niet meer uit. ;)

... ook ik heb soms per ongeluk gelijk.

Pagina: 1