Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] file password mit apache ?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1609
Location: indiana

PostPosted: Thu May 14, 2009 6:21 pm    Post subject: [solved] file password mit apache ? Reply with quote

hi,

ist es mit apache moeglich eine einzelne dateien mit passwort zu versehen ?



mfg
_________________
I do not have a Superman complex, for I am God not Superman :D

Ryzen9 7950x ; Geforce1650 ; kernel 6.5 ; XFCE


Last edited by Mgiese on Fri Jun 19, 2009 11:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hollowman
Guru
Guru


Joined: 19 Apr 2007
Posts: 584

PostPosted: Thu May 14, 2009 6:40 pm    Post subject: Reply with quote

Hi

In nen eigenen Ordner schubsen und ne .htaccess datei schreiben und in den Ordner packen.

Sebastian
Back to top
View user's profile Send private message
sirro
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1472
Location: aachen.nrw.de.eu

PostPosted: Thu May 14, 2009 9:03 pm    Post subject: Reply with quote

Solange es nur um das Passwort zur Anmeldung geht und nicht eine Dateiverschluesslung auf der Platte oder aehnliches:
Code:
<Files test.txt>
AuthType Basic
AuthName "Blabla"
AuthUserFile /path/to/group/.htgroup
Require valid-user
</Files>

Wäre für alle

FilesMatch könnte auch reguläre Ausdrücke. Mehr Beispiele gibt es bei Google oder in der Apache-Doku.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum