sleed Posted April 20, 2014 Report Share Posted April 20, 2014 Cum securizezi un folder cu .htpasswd ? Htpasswd Generator - Create a htpasswd password In primu rand alegem un nume si o parola care sa fie encryptata, apoi le salvam undeva sa le avem :!Avem urmatorul VHOST : <VirtualHost *:80> ServerAdmin office@site.. ServerName site Redirect permanent /one http://site DocumentRoot ..... <Directory "....."> Options FollowSymLinks AllowOverride All </Directory> <Directory locatia care sa fie protejata gen: /var/www/admin> AuthName "Module Protection" AuthType Basic AuthUserFile "/locatie/locatie/.htpasswd" Require valid-user </Directory>In .htpasswd adaugam parola creata aici : Htpasswd Generator - Create a htpasswd passwordReload apache @ working!//Nota : Sa aveti RewriteEngine On in .htaccess !!O sa va deie ca aici: http://postimg.org/image/92pl84xfj/Tutorial 100% made by sleed from RST!Copyright daca postati in alta parte Quote Link to comment Share on other sites More sharing options...
TokyoMode Posted April 20, 2014 Report Share Posted April 20, 2014 Felicitari pt Tutorial ! Dar ce ma impresiona cel mai mult , Tab-u cu Florin Salam - Traim Viata ...... Quote Link to comment Share on other sites More sharing options...
Coco Posted May 1, 2014 Report Share Posted May 1, 2014 Felicitari pt Tutorial ! Dar ce ma impresiona cel mai mult , Tab-u cu Florin Salam - Traim Viata ......))))))))))))))))))))On : Frumos , ii va ajuta pe cei care nu le au cu .htacces Quote Link to comment Share on other sites More sharing options...
aelius Posted May 1, 2014 Report Share Posted May 1, 2014 Cum securizezi un folder cu .htpasswd ? Htpasswd Generator - Create a htpasswd password In primu rand alegem un nume si o parola care sa fie encryptata, apoi le salvam undeva sa le avem :!....Pentru a nu bantui pe site-uri, puteti genera parola cu utilitarul 'htpasswd' care vine default in pachetul httpd/apache.marian@pluto:~$ htpasswd -nbd sleed rstpasssleed:nsAjZ1VFwUIOYAlt exemplu:marian@pluto:~$ htpasswd -c .htaccess sleedNew password: Re-type new password: Adding password for user sleedmarian@pluto:~$ cat .htaccess sleed:$apr1$0qx91i9w$XX21EuqD.bPeilCT4wpPl.marian@pluto:~$ Quote Link to comment Share on other sites More sharing options...